OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc?expand=0&rev=260
13 lines
654 B
Diff
13 lines
654 B
Diff
Index: ghc-8.4.0.20180204/compiler/main/DynFlags.hs
|
|
===================================================================
|
|
--- ghc-8.4.0.20180204.orig/compiler/main/DynFlags.hs
|
|
+++ ghc-8.4.0.20180204/compiler/main/DynFlags.hs
|
|
@@ -4155,6 +4155,7 @@ default_PIC :: Platform -> [GeneralFlag]
|
|
default_PIC platform =
|
|
case (platformOS platform, platformArch platform) of
|
|
(OSDarwin, ArchX86_64) -> [Opt_PIC]
|
|
+ (OSLinux, ArchX86_64) -> [Opt_PIC]
|
|
(OSOpenBSD, ArchX86_64) -> [Opt_PIC] -- Due to PIE support in
|
|
-- OpenBSD since 5.3 release
|
|
-- (1 May 2013) we need to
|