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 /includes/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 'includes/ghc.mk')
-rw-r--r-- | includes/ghc.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/ghc.mk b/includes/ghc.mk index 14a99f8611..68055b564e 100644 --- a/includes/ghc.mk +++ b/includes/ghc.mk @@ -46,7 +46,7 @@ endif ifneq "$(BINDIST)" "YES" -ifneq "$(TARGETPLATFORM)" "$(HOSTPLATFORM)" +ifeq "$(PORTING_HOST)" "YES" $(includes_H_CONFIG) : @echo "*** Cross-compiling: please copy $(includes_H_CONFIG) from the target system" @@ -116,7 +116,7 @@ endif includes_DERIVEDCONSTANTS = includes/DerivedConstants.h -ifneq "$(TARGETPLATFORM)" "$(HOSTPLATFORM)" +ifeq "$(PORTING_HOST)" "YES" DerivedConstants.h : @echo "*** Cross-compiling: please copy DerivedConstants.h from the target system" @@ -144,7 +144,7 @@ endif includes_GHCCONSTANTS = includes/GHCConstants.h -ifneq "$(TARGETPLATFORM)" "$(HOSTPLATFORM)" +ifeq "$(PORTING_HOST)" "YES" $(includes_GHCCONSTANTS) : @echo "*** Cross-compiling: please copy DerivedConstants.h from the target system" |