summaryrefslogtreecommitdiff
path: root/utils/genapply/ghc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'utils/genapply/ghc.mk')
-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))