summaryrefslogtreecommitdiff
path: root/utils/genapply
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2021-11-11 05:36:50 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-11-15 10:18:32 -0500
commit25d36c3178945d926f936ee32e57894d1743063c (patch)
tree9b1e21bcbb3be1775af7d608e10ea4fd322144ff /utils/genapply
parent3e5f0595eaa732fdbf1c273194280105bb5bd862 (diff)
downloadhaskell-25d36c3178945d926f936ee32e57894d1743063c.tar.gz
Make: Get rid of GHC_INCLUDE_DIRS
These dirs should not be included in all stages. Instead make the per-stage `BUILD_*_INCLUDE_DIR` "plural" to insert `rts/include` in the right place.
Diffstat (limited to 'utils/genapply')
-rw-r--r--utils/genapply/ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/genapply/ghc.mk b/utils/genapply/ghc.mk
index 8da1f7aaf6..363f8bb5d1 100644
--- a/utils/genapply/ghc.mk
+++ b/utils/genapply/ghc.mk
@@ -27,4 +27,4 @@ $(eval $(call build-prog,utils/genapply,dist,0))
# Purposely do the wrong stage for HOST := TARGET hack.
# See Note [Genapply target as host for RTS macros].
-utils/genapply_dist_CC_OPTS += -I,$(BUILD_1_INCLUDE_DIR)
+utils/genapply_dist_CC_OPTS += $(addprefix -I,$(BUILD_1_INCLUDE_DIRS))