diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2021-03-26 10:02:41 +0800 |
---|---|---|
committer | Moritz Angermann <moritz.angermann@gmail.com> | 2021-03-30 00:48:06 -0400 |
commit | 0d01810e28650ec701232711765483aa7f2cf57e (patch) | |
tree | f55b87dca4bd92fa4d28156e9960cb1192cb57e3 /compiler/GHC | |
parent | 69b53b533f7d3f718d46eba90f855f22dee6c4df (diff) | |
download | haskell-0d01810e28650ec701232711765483aa7f2cf57e.tar.gz |
[armv7] PIC by default + [aarch64-linux] T11276 metric increasewip/angerman/linker-fixes-backports
Metric Increase:
T11276
(cherry picked from commit 2eba59e5fb54a88145692ede00d1aadc784a2f96)
Diffstat (limited to 'compiler/GHC')
-rw-r--r-- | compiler/GHC/Driver/Session.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/GHC/Driver/Session.hs b/compiler/GHC/Driver/Session.hs index aea644aac8..ba957a9bd7 100644 --- a/compiler/GHC/Driver/Session.hs +++ b/compiler/GHC/Driver/Session.hs @@ -3691,6 +3691,7 @@ default_PIC platform = -- be built with -fPIC. (OSDarwin, ArchAArch64) -> [Opt_PIC] (OSLinux, ArchAArch64) -> [Opt_PIC, Opt_ExternalDynamicRefs] + (OSLinux, ArchARM {}) -> [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 |