summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-03-31 14:15:48 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-04-10 05:31:14 -0400
commit2cdc95f9c068421a55c634933ab2d8596eb992fb (patch)
tree65fd82a66c8054143d3a49037bc3d841a405d98d /includes
parent085983e63bfe6af23f8b85fbfcca8db4872d2f60 (diff)
downloadhaskell-2cdc95f9c068421a55c634933ab2d8596eb992fb.tar.gz
Don't produce platformConstants file
It isn't used for anything anymore
Diffstat (limited to 'includes')
-rw-r--r--includes/ghc.mk8
1 files changed, 0 insertions, 8 deletions
diff --git a/includes/ghc.mk b/includes/ghc.mk
index 7a863bdb19..00e518c34d 100644
--- a/includes/ghc.mk
+++ b/includes/ghc.mk
@@ -268,9 +268,6 @@ $(includes_SETTINGS) : includes/Makefile | $$(dir $$@)/.
includes_DERIVEDCONSTANTS = includes/dist-derivedconstants/header/DerivedConstants.h
includes_GHCCONSTANTS_HASKELL_TYPE = includes/dist-derivedconstants/header/GHCConstantsHaskellType.hs
-includes_GHCCONSTANTS_HASKELL_VALUE = includes/dist-derivedconstants/header/platformConstants
-
-INSTALL_LIBS += $(includes_GHCCONSTANTS_HASKELL_VALUE)
DERIVE_CONSTANTS_FLAGS += --gcc-program "$(CC)"
DERIVE_CONSTANTS_FLAGS += $(addprefix --gcc-flag$(space),$(includes_CC_OPTS) -fcommon)
@@ -282,16 +279,12 @@ DERIVE_CONSTANTS_FLAGS += --target-os "$(TargetOS_CPP)"
ifneq "$(BINDIST)" "YES"
$(includes_DERIVEDCONSTANTS): $$(includes_H_FILES) $$(rts_H_FILES)
-$(includes_GHCCONSTANTS_HASKELL_VALUE): $$(includes_H_FILES) $$(rts_H_FILES)
$(includes_DERIVEDCONSTANTS): $(deriveConstants_INPLACE) $(includes_1_H_CONFIG) $(includes_1_H_PLATFORM) | $$(dir $$@)/.
$< --gen-header -o $@ --tmpdir $(dir $@) $(DERIVE_CONSTANTS_FLAGS)
$(includes_GHCCONSTANTS_HASKELL_TYPE): $(deriveConstants_INPLACE) | $$(dir $$@)/.
$< --gen-haskell-type -o $@ --tmpdir $(dir $@) $(DERIVE_CONSTANTS_FLAGS)
-
-$(includes_GHCCONSTANTS_HASKELL_VALUE): $(deriveConstants_INPLACE) | $$(dir $$@)/.
- $< --gen-haskell-value -o $@ --tmpdir $(dir $@) $(DERIVE_CONSTANTS_FLAGS)
endif
# ---------------------------------------------------------------------------
@@ -305,7 +298,6 @@ $(eval $(call all-target,includes,\
$(includes_0_H_CONFIG) $(includes_0_H_PLATFORM) $(includes_0_H_VERSION) \
$(includes_1_H_CONFIG) $(includes_1_H_PLATFORM) $(includes_1_H_VERSION) \
$(includes_GHCCONSTANTS_HASKELL_TYPE) \
- $(includes_GHCCONSTANTS_HASKELL_VALUE) \
$(includes_DERIVEDCONSTANTS)))
install: install_includes