From: Simon Marlow Date: Thu, 17 Jun 2010 11:52:59 +0000 (+0000) Subject: picCCOpts: -dynamic should not entail -optc-fPIC X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=5a8066e3ee6bc074d09b10929b9e643b78d2d9fe;p=ghc-hetmet.git picCCOpts: -dynamic should not entail -optc-fPIC --- diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index 031fa07..3422708 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 = []