projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f6ee1f3
)
picCCOpts: -dynamic should not entail -optc-fPIC
author
Simon Marlow
<marlowsd@gmail.com>
Thu, 17 Jun 2010 11:52:59 +0000
(11:52 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Thu, 17 Jun 2010 11:52:59 +0000
(11:52 +0000)
compiler/main/DynFlags.hs
patch
|
blob
|
history
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
= []