diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2020-10-27 10:52:25 +0800 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-11-06 03:46:44 -0500 |
commit | 2cb879092c0c946f5313216fc9ce4b93954c2f74 (patch) | |
tree | dfe782a367219dbf96172b451fa3cfa7c7c1388c /includes | |
parent | c85f4928d4dbb2eb2cf906d08bfe7620d6f04ca5 (diff) | |
download | haskell-2cb879092c0c946f5313216fc9ce4b93954c2f74.tar.gz |
[AArch64] Aarch64 Always PIC
Diffstat (limited to 'includes')
-rw-r--r-- | includes/rts/Flags.h | 2 |
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 |