diff options
author | Reid Barton <rwbarton@gmail.com> | 2016-01-27 11:05:50 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-01-27 11:32:15 +0100 |
commit | 0d92d9cb6d65fd00f9910c3f6f85bc6c68f5543b (patch) | |
tree | 618b9739fb8da49c079e57f0734caee5241d26d7 /rts/ghc.mk | |
parent | 0dc7b36c3c261b3eccf8460581fcd3d71f6e6ff6 (diff) | |
download | haskell-0d92d9cb6d65fd00f9910c3f6f85bc6c68f5543b.tar.gz |
Use stage1 build variables when building the RTS
The fourth argument of distdir-way-opts was missing. So, for example,
SRC_HC_OPTS_STAGE1 was not used when building the RTS.
Test Plan: validate --slow
Reviewers: austin, bgamari, thomie
Reviewed By: thomie
Differential Revision: https://phabricator.haskell.org/D1857
Diffstat (limited to 'rts/ghc.mk')
-rw-r--r-- | rts/ghc.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk index 71da10d5af..85fab787cc 100644 --- a/rts/ghc.mk +++ b/rts/ghc.mk @@ -160,7 +160,7 @@ ifneq "$$(findstring thr, $1)" "" rts_$1_EXTRA_C_SRCS = rts/dist/build/sm/Evac_thr.c rts/dist/build/sm/Scav_thr.c endif -$(call distdir-way-opts,rts,dist,$1) +$(call distdir-way-opts,rts,dist,$1,1) # 1 because the rts is built with stage1 $(call c-suffix-rules,rts,dist,$1,YES) $(call cmm-suffix-rules,rts,dist,$1) |