diff --color -Naur ghc-9.10.1-orig/compiler/GHC/Driver/DynFlags.hs ghc-9.10.1/compiler/GHC/Driver/DynFlags.hs
@@ -1310,6 +1310,7 @@
default_PIC :: Platform -> [GeneralFlag]
default_PIC platform =
case (platformOS platform, platformArch platform) of
+ (OSLinux, ArchX86_64) -> [Opt_PIC]
-- Darwin always requires PIC. Especially on more recent macOS releases
-- there will be a 4GB __ZEROPAGE that prevents us from using 32bit addresses
-- while we could work around this on x86_64 (like WINE does), we won't be