summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2010-06-17 11:52:59 +0000
committerSimon Marlow <marlowsd@gmail.com>2010-06-17 11:52:59 +0000
commit5a8066e3ee6bc074d09b10929b9e643b78d2d9fe (patch)
tree1b23c32952509a4beedc907475fbf3d3c0012e02 /compiler
parentf6ee1f315a7e7069b21a993fb058e00d06b73487 (diff)
downloadhaskell-5a8066e3ee6bc074d09b10929b9e643b78d2d9fe.tar.gz
picCCOpts: -dynamic should not entail -optc-fPIC
Diffstat (limited to 'compiler')
-rw-r--r--compiler/main/DynFlags.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 031fa07d26..34227087dd 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -2206,7 +2206,7 @@ picCCOpts _dflags
| otherwise
= []
#else
- | opt_PIC || not opt_Static
+ | opt_PIC
= ["-fPIC", "-U __PIC__", "-D__PIC__"]
| otherwise
= []