summaryrefslogtreecommitdiff
path: root/compiler/main/SysTools.lhs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-07-16 19:48:18 +0100
committerIan Lynagh <igloo@earth.li>2012-07-16 19:48:18 +0100
commit5d0fce85fd5c885343196142b15b8a8d2928d3fe (patch)
treea460a2ef476741dcfe1518632840f703a71d8542 /compiler/main/SysTools.lhs
parentd6c1311a30471eb252db321c6151214ad1eb1fbb (diff)
downloadhaskell-5d0fce85fd5c885343196142b15b8a8d2928d3fe.tar.gz
Make a picPOpts function
We now handle the preprocessor options the same way as the gcc options (picCCOpts).
Diffstat (limited to 'compiler/main/SysTools.lhs')
-rw-r--r--compiler/main/SysTools.lhs6
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/main/SysTools.lhs b/compiler/main/SysTools.lhs
index 9e5d24703e..a75a3bc5b4 100644
--- a/compiler/main/SysTools.lhs
+++ b/compiler/main/SysTools.lhs
@@ -50,7 +50,6 @@ import Panic
import Platform
import Util
import DynFlags
-import StaticFlags
import Exception
import Data.IORef
@@ -295,10 +294,7 @@ initSysTools mbMinusB
-- Hans: this isn't right in general, but you can
-- elaborate it in the same way as the others
sOpt_L = [],
- sOpt_P = (if opt_PIC
- then -- this list gets reversed
- ["-D__PIC__", "-U __PIC__"]
- else []),
+ sOpt_P = [],
sOpt_F = [],
sOpt_c = [],
sOpt_a = [],