diff options
author | Ian Lynagh <igloo@earth.li> | 2010-07-16 01:08:08 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-07-16 01:08:08 +0000 |
commit | 7a3c2d0e25befca7f83f448c12d5310c2ffd86fa (patch) | |
tree | 3c40500800cc015d45554519aa6821b0e5bc9348 /rts/ghc.mk | |
parent | 587a2822423134f38ceb45493f31c996a647439c (diff) | |
download | haskell-7a3c2d0e25befca7f83f448c12d5310c2ffd86fa.tar.gz |
Fix HC porting test in makefiles
Now that we are trying to support cross compilation, we can't use
"$(TARGETPLATFORM)" != "$(HOSTPLATFORM)"
as a test for HC-porting.
Diffstat (limited to 'rts/ghc.mk')
-rw-r--r-- | rts/ghc.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk index 7d475a3366..8b6ecb1ce8 100644 --- a/rts/ghc.mk +++ b/rts/ghc.mk @@ -44,7 +44,7 @@ rts_C_SRCS = $(filter-out $(EXCLUDED_SRCS),$(wildcard rts/*.c $(foreach dir,$(AL rts_CMM_SRCS = $(wildcard rts/*.cmm) # Don't compile .S files when bootstrapping a new arch -ifeq "$(TARGETPLATFORM)" "$(HOSTPLATFORM)" +ifneq "$(PORTING_HOST)" "YES" ifneq "$(findstring $(TargetArch_CPP), powerpc powerpc64)" "" rts_S_SRCS += rts/AdjustorAsm.S else |