summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2020-10-27 20:14:15 +0800
committerMoritz Angermann <moritz.angermann@gmail.com>2020-10-27 20:14:15 +0800
commit170903093be2a26ee527a68354a0d6bca4264e50 (patch)
treeefbae7f5327e258cee41bf6c7ed7d8b88fd3b14c
parentcf91bf47c106074136b165a4c3e5db6f55f0554e (diff)
downloadhaskell-170903093be2a26ee527a68354a0d6bca4264e50.tar.gz
is PIC enough?
-rw-r--r--compiler/GHC/Driver/Session.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Driver/Session.hs b/compiler/GHC/Driver/Session.hs
index a62120bfde..9266835ac7 100644
--- a/compiler/GHC/Driver/Session.hs
+++ b/compiler/GHC/Driver/Session.hs
@@ -3819,7 +3819,7 @@ default_PIC platform =
case (platformOS platform, platformArch platform) of
(OSDarwin, ArchX86_64) -> [Opt_PIC]
(OSDarwin, ArchAArch64) -> [Opt_PIC]
- (OSLinux, ArchAArch64) -> [Opt_PIC, Opt_ExternalDynamicRefs]
+ (OSLinux, ArchAArch64) -> [Opt_PIC] --, Opt_ExternalDynamicRefs]
(OSOpenBSD, ArchX86_64) -> [Opt_PIC] -- Due to PIE support in
-- OpenBSD since 5.3 release
-- (1 May 2013) we need to