Document new hsc2hs flags, and use the --cross-safe flag when we're compiling
[ghc-hetmet.git] / mk / config.mk.in
index 4204c7b..948f805 100644 (file)
@@ -560,6 +560,7 @@ ifeq "$(TARGETPLATFORM)" "ia64-unknown-linux"
 CONF_CC_OPTS += -G0
 endif
 
+SRC_HSC2HS_OPTS += --cross-safe
 SRC_HSC2HS_OPTS += $(addprefix --cflag=,$(filter-out -O,$(SRC_CC_OPTS) $(CONF_CC_OPTS_STAGE0)))
 SRC_HSC2HS_OPTS += $(foreach d,$(GMP_INCLUDE_DIRS),-I$(d))