diff options
author | Ian Lynagh <igloo@earth.li> | 2008-06-16 14:29:17 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-06-16 14:29:17 +0000 |
commit | 0f5e104c36b1dc3d8deeec5fef3d65e7b3a1b5ad (patch) | |
tree | cb2319df6f3669fd22e95029a0de98cd308feec4 /libraries/Makefile.local | |
parent | 1363f4121ceaa38ac50eac42381b976f89d5ea96 (diff) | |
download | haskell-0f5e104c36b1dc3d8deeec5fef3d65e7b3a1b5ad.tar.gz |
More commandline flag improvements
* Allow -ffoo flags to be deprecated
* Mark some -ffoo flags as deprecated
* Avoid using deprecated flags in error messages, in the build system, etc
* Add a flag to en/disable the deprecated flag warning
Diffstat (limited to 'libraries/Makefile.local')
-rw-r--r-- | libraries/Makefile.local | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/Makefile.local b/libraries/Makefile.local index 57dbfefa5d..b263059dbb 100644 --- a/libraries/Makefile.local +++ b/libraries/Makefile.local @@ -15,6 +15,8 @@ GHC := $(SAVE_GHC) AR := $(SAVE_AR) LD := $(SAVE_LD) +GhcLibHcOpts += -fno-warn-deprecated-flags + # Now add flags from the GHC build system to the Cabal build: GHC_CC_OPTS += $(addprefix -optc, $(MACOSX_DEPLOYMENT_CC_OPTS)) GHC_OPTS += $(SRC_HC_OPTS) |