[project @ 2005-02-23 10:50:30 by simonmar]
authorsimonmar <unknown>
Wed, 23 Feb 2005 10:50:30 +0000 (10:50 +0000)
committersimonmar <unknown>
Wed, 23 Feb 2005 10:50:30 +0000 (10:50 +0000)
Add AdjustorAsm.S to EXCLUDED_SRCS unless we're building for
powerpc/powerpc64.  Apparently Solaris ld chokes on the empty object
file otherwise.

ghc/rts/Makefile

index 73ba68f..fe7841c 100644 (file)
@@ -57,6 +57,13 @@ else
 EXCLUDED_SRCS += Main.c
 endif
 
+# This file ends up being empty unless we're building for a powerpc
+# system, and it is reported that Solaris ld chokes on it when building
+# HSrts.o.
+ifeq "$(findstring $(TargetArch_CPP), powerpc powerpc64)" ""
+EXCLUDED_SRCS += AdjustorAsm.S
+endif
+
 EXCLUDED_SRCS += parallel/SysMan.c
 
 # The build system doesn't give us these