diff options
author | Simon Marlow <marlowsd@gmail.com> | 2008-09-12 15:55:49 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2008-09-12 15:55:49 +0000 |
commit | 6c0441c137c46d4773c088671e1ce84844e94b7c (patch) | |
tree | 514c3547b1e385ec8bc0e457862686c093022b4a /ghc/Makefile | |
parent | 84dc1adf521191e1c171e684c7cd28f03475125e (diff) | |
download | haskell-6c0441c137c46d4773c088671e1ce84844e94b7c.tar.gz |
add $(GhcStage[123]HcOpts)
Diffstat (limited to 'ghc/Makefile')
-rw-r--r-- | ghc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ghc/Makefile b/ghc/Makefile index 862f54fd28..0c0f3ec54c 100644 --- a/ghc/Makefile +++ b/ghc/Makefile @@ -73,6 +73,10 @@ CONFIGURE_FLAGS_STAGE1 += $(USE_BOOT_CONFIGURE_FLAGS) CONFIGURE_FLAGS_STAGE2 += $(USE_STAGE1_CONFIGURE_FLAGS) CONFIGURE_FLAGS_STAGE3 += $(USE_STAGE2_CONFIGURE_FLAGS) +CONFIGURE_FLAGS_STAGE1 += $(foreach flag, $(GhcStage1HcOpts), --ghc-option=$(flag)) +CONFIGURE_FLAGS_STAGE2 += $(foreach flag, $(GhcStage2HcOpts), --ghc-option=$(flag)) +CONFIGURE_FLAGS_STAGE3 += $(foreach flag, $(GhcStage3HcOpts), --ghc-option=$(flag)) + # Allow EXTRA_HC_OPTS to be used from the command line to add options # when building (e.g. -v) BUILD_FLAGS=$(patsubst %, --ghc-option=%, $(EXTRA_HC_OPTS)) |