summaryrefslogtreecommitdiff
path: root/compiler/iface/FlagChecker.hs
Commit message (Collapse)AuthorAgeFilesLines
* Some alpha renamingIan Lynagh2012-10-161-1/+1
| | | | | Mostly d -> g (matching DynFlag -> GeneralFlag). Also renamed if* to when*, matching the Haskell if/when names
* Make -fscc-profiling a dynamic flagIan Lynagh2012-07-241-2/+1
| | | | All the flags that 'ways' imply are now dynamic
* Make -fPIC a dynamic flagIan Lynagh2012-07-161-1/+1
| | | | | | Hopefully I've kept the logic the same, and we now generate warnings if the user does -fno-PIC but we ignore them (e.g. because they're on OS X amd64).
* Make a picPOpts functionIan Lynagh2012-07-161-2/+2
| | | | | We now handle the preprocessor options the same way as the gcc options (picCCOpts).
* Omit -osuf/-odir -hisuf/-hidir and -stubdir from the flag checkerSimon Marlow2012-03-011-6/+32
| | | | | | | The reasoning is that GHC will only skip recompilation if it has found a valid up-to-date object file and .hi file, so there is no need to also check that these flags have not changed, and indeed there are valid reasons to want to change them.
* oops, a Bool is a little *too* lax (#5878)Simon Marlow2012-02-161-1/+2
|
* Be less conservative about recompiling after changes to -main-is (#5878)Simon Marlow2012-02-161-3/+4
|
* Don't record outputFile in the hashed flagsSimon Marlow2012-01-031-1/+3
| | | | | | | | | | | We don't want ghc --make M -o <file> to force recompilation of all modules when <file> changes. The -o value is already taken into account by the recompilation machinery when we check the modification time on the object file or the executable.
* Take into account -fprof-auto-*Simon Marlow2011-12-071-1/+5
|
* Keep the flag lists as IntSets rather than listsSimon Marlow2011-11-231-2/+2
| | | | This improves compile times slightly.
* Normalise FilePaths before hashing (fixes base01)Simon Marlow2011-11-111-3/+7
|
* Remove cruft code from FlagCheckerDavid Terei2011-11-101-103/+1
|
* Add more flags to the recompilation check (#437)Simon Marlow2011-11-101-19/+21
| | | | | | | Now included: - all language flags - all filename-related flags (-i, -osuf, -hidir etc.) - all CPP-related flags (-I, -D, -U)
* Fix #437: recompilation check includes flagsDavid Terei2011-11-091-0/+143