From: simonmar Date: Wed, 23 Feb 2005 10:50:30 +0000 (+0000) Subject: [project @ 2005-02-23 10:50:30 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~1038 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=d412004eed81916595f3bff515193aeb68b6abf8 [project @ 2005-02-23 10:50:30 by simonmar] Add AdjustorAsm.S to EXCLUDED_SRCS unless we're building for powerpc/powerpc64. Apparently Solaris ld chokes on the empty object file otherwise. --- diff --git a/ghc/rts/Makefile b/ghc/rts/Makefile index 73ba68f..fe7841c 100644 --- a/ghc/rts/Makefile +++ b/ghc/rts/Makefile @@ -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