TOP = @hardtop@
include $(TOP)/mk/project.mk
-include $(TOP)/mk/install.mk
################################################################################
#
RelocatableBuild = NO
endif
+# needs to be after $(RelocatableBuild) is set above
+include $(TOP)/mk/install.mk
+
# When building bindists we set this to yes so that the binaries are as
# portable as possible.
BeConservative = NO
GhcMinVersion = @GhcMinVersion@
ghc_ge_609 = @ghc_ge_609@
+ghc_ge_6102 = @ghc_ge_6102@
+ghc_ge_611 = @ghc_ge_611@
# Canonicalised ghc version number, used for easy (integer) version
# comparisons. We must expand $(GhcMinVersion) to two digits by
CONF_CC_OPTS += -G0
endif
-SRC_HSC2HS_OPTS += $(addprefix --cflag=,$(filter-out -O,$(SRC_CC_OPTS)))
+SRC_HSC2HS_OPTS += $(addprefix --cflag=,$(filter-out -O,$(SRC_CC_OPTS) $(CONF_CC_OPTS)))
SRC_HSC2HS_OPTS += $(foreach d,$(GMP_INCLUDE_DIRS),-I$(d))
#-----------------------------------------------------------------------------