diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2021-03-26 10:02:41 +0800 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-03-29 17:25:49 -0400 |
commit | 6604409594f71d2ed5963bb3897bc4ee772cc5c0 (patch) | |
tree | 0c8b18903ea386f486847a9e2405bdc1366902db /compiler/GHC/Driver | |
parent | 142950d9d17f482c26f12767b4e23e3fb2d204cd (diff) | |
download | haskell-6604409594f71d2ed5963bb3897bc4ee772cc5c0.tar.gz |
[armv7] PIC by default + [aarch64-linux] T11276 metric increase
Metric Increase:
T11276
Diffstat (limited to 'compiler/GHC/Driver')
-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 ff84dbfc65..b3052978af 100644 --- a/compiler/GHC/Driver/Session.hs +++ b/compiler/GHC/Driver/Session.hs @@ -3692,6 +3692,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 |