summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
= []