X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FMakefile;fp=ghc%2Frts%2FMakefile;h=fe7841c0631c9cea3e0fb882054a822a384f2b76;hb=d412004eed81916595f3bff515193aeb68b6abf8;hp=73ba68ffa82b6945dedd4e3021b79cc704156e0d;hpb=c685ccf47413f070a85c4b739d9d7cc73e6f38e6;p=ghc-hetmet.git 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