From 5a8066e3ee6bc074d09b10929b9e643b78d2d9fe Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Thu, 17 Jun 2010 11:52:59 +0000 Subject: [PATCH] picCCOpts: -dynamic should not entail -optc-fPIC --- compiler/main/DynFlags.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [] -- 1.7.10.4