diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2016-11-04 15:03:55 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-11-10 13:16:03 -0500 |
commit | 9030d8e4dc321dbcd32baae33f150b4e7c8ed141 (patch) | |
tree | 6876eb9a516566eae34046ad716ea9a7ceea3094 /configure.ac | |
parent | 816d2e415a32651ed6876c19adb6d33b94c08864 (diff) | |
download | haskell-9030d8e4dc321dbcd32baae33f150b4e7c8ed141.tar.gz |
configure: Pass HC_OPTS_STAGEx to build system
Test Plan: Try `./configure HC_OPTS_STAGE0=-foobar` and watch it fail
Reviewers: austin, hvr
Subscribers: thomie, erikd
Differential Revision: https://phabricator.haskell.org/D2674
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9b0b54949b..70c4447bb9 100644 --- a/configure.ac +++ b/configure.ac @@ -643,6 +643,10 @@ AC_SUBST(CONF_LD_LINKER_OPTS_STAGE2) AC_SUBST(CONF_CPP_OPTS_STAGE0) AC_SUBST(CONF_CPP_OPTS_STAGE1) AC_SUBST(CONF_CPP_OPTS_STAGE2) +# Flags passed to the Haskell compiler +AC_SUBST(CONF_HC_OPTS_STAGE0) +AC_SUBST(CONF_HC_OPTS_STAGE1) +AC_SUBST(CONF_HC_OPTS_STAGE2) dnl ** Set up the variables for the platform in the settings file. dnl May need to use gcc to find platform details. |