OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc?expand=0&rev=332
13 lines
657 B
Diff
13 lines
657 B
Diff
Index: ghc-8.10.0.20200123/compiler/main/DynFlags.hs
|
|
===================================================================
|
|
--- ghc-8.10.0.20200123.orig/compiler/main/DynFlags.hs
|
|
+++ ghc-8.10.0.20200123/compiler/main/DynFlags.hs
|
|
@@ -4624,6 +4624,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
|