projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
picCCOpts: -dynamic should not entail -optc-fPIC
[ghc-hetmet.git]
/
compiler
/
main
/
DynFlags.hs
diff --git
a/compiler/main/DynFlags.hs
b/compiler/main/DynFlags.hs
index
031fa07
..
3422708
100644
(file)
--- 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
= []