From d412004eed81916595f3bff515193aeb68b6abf8 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 23 Feb 2005 10:50:30 +0000 Subject: [PATCH] [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. --- ghc/rts/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 1.7.10.4