[project @ 2005-01-31 05:27:14 by wolfgang]
authorwolfgang <unknown>
Mon, 31 Jan 2005 05:27:16 +0000 (05:27 +0000)
committerwolfgang <unknown>
Mon, 31 Jan 2005 05:27:16 +0000 (05:27 +0000)
commitc560ae86eb28062f965b39fd43792d9dd4950011
tree22576bbfe23f05f92ed2eb921ebaf5b5445abb2f
parentd121c0cfb9a8a383b82f7e3a3493a9a57e9e93cf
[project @ 2005-01-31 05:27:14 by wolfgang]
Reorganise handling of -fPIC flags passed to C compiler.
The flags expected by gcc differ only slightly per platform
(basically depending whether you are on a Mac or not), we don't need
separate cases for every processor.

TODO: Display an error message for platforms where -fPIC -fvia-C is not
      supported.
ghc/compiler/main/DriverFlags.hs
ghc/compiler/main/DriverPipeline.hs