summaryrefslogtreecommitdiff
path: root/includes/rts/Flags.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/rts/Flags.h')
-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