From 6604409594f71d2ed5963bb3897bc4ee772cc5c0 Mon Sep 17 00:00:00 2001 From: Moritz Angermann Date: Fri, 26 Mar 2021 10:02:41 +0800 Subject: [armv7] PIC by default + [aarch64-linux] T11276 metric increase Metric Increase: T11276 --- compiler/GHC/Driver/Session.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/GHC/Driver/Session.hs') 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 -- cgit v1.2.1