[project @ 2005-04-25 13:02:31 by simonmar]
authorsimonmar <unknown>
Mon, 25 Apr 2005 13:02:31 +0000 (13:02 +0000)
committersimonmar <unknown>
Mon, 25 Apr 2005 13:02:31 +0000 (13:02 +0000)
commit50b971bddbd1756d307851d1c9abed306669c6ae
tree33f9ee10e379ceee643c4b28e9298d8a39b19b48
parentc03e133e8f0c200133c27681aa125fdd0b9e1dec
[project @ 2005-04-25 13:02:31 by simonmar]
Requested by Duncan Coutts: -optc flags get passed to the assembler
phase too.  It's not obvious, when using GHC to compile a .c file,
that options need to be passed both with -optc and -opta - gcc doesn't
need this, for example.

This is an experimental change - if it breaks anything we can back it
out.  If anyone needs to pass flags to the .c->.s phase *only*, then
we will need to add another flag for that purpose.  It seems unlikely,
though (there aren't many flags that affect the assembler only, and
those that do don't conflict with flags for the C phase).
ghc/compiler/main/DynFlags.hs