diff options
author | Ian Lynagh <igloo@earth.li> | 2012-04-26 19:28:39 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-04-26 19:28:39 +0100 |
commit | 3d8dd48620ac8297d183447e5fa9687521752820 (patch) | |
tree | ab87ba9509dd6d0d702a887ce7f57184ec0b4ec0 /libraries | |
parent | dd96644c9001fe3f6f78ed48caaad84f7a6820ec (diff) | |
download | haskell-3d8dd48620ac8297d183447e5fa9687521752820.tar.gz |
Add SRC_[CH]C_WARNING_OPTS
This allows you to say things like
SRC_HC_WARNING_OPTS += -fno-warn-unsupported-calling-conventions
in mk/validate.mk.
Unfortunately, we can't just use SRC_HC_OPTS, as that gets put before
the more specific options (e.g. ghc-options in a .cabal file), many of
which include -Wall. So now we have:
ghc $(SRC_HC_OPTS) ... options from .cabal etc ... $(SRC_HC_WARNING_OPTS)
Diffstat (limited to 'libraries')
0 files changed, 0 insertions, 0 deletions