summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2020-10-27 10:52:25 +0800
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-11-06 03:46:44 -0500
commit2cb879092c0c946f5313216fc9ce4b93954c2f74 (patch)
treedfe782a367219dbf96172b451fa3cfa7c7c1388c /includes
parentc85f4928d4dbb2eb2cf906d08bfe7620d6f04ca5 (diff)
downloadhaskell-2cb879092c0c946f5313216fc9ce4b93954c2f74.tar.gz
[AArch64] Aarch64 Always PIC
Diffstat (limited to 'includes')
-rw-r--r--includes/rts/Flags.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/rts/Flags.h b/includes/rts/Flags.h
index bf84c5dc96..dcaf0d8bd2 100644
--- a/includes/rts/Flags.h
+++ b/includes/rts/Flags.h
@@ -200,7 +200,7 @@ typedef struct _CONCURRENT_FLAGS {
* files were compiled with -fPIC -fexternal-dynamic-refs and load them
* anywhere in the address space.
*/
-#if defined(x86_64_HOST_ARCH) && defined(darwin_HOST_OS)
+#if defined(darwin_HOST_OS) || defined(aarch64_HOST_ARCH)
#define DEFAULT_LINKER_ALWAYS_PIC true
#else
#define DEFAULT_LINKER_ALWAYS_PIC false