Skip to content
Snippets Groups Projects
Verified Commit faf615c6 authored by Moritz Angermann's avatar Moritz Angermann
Browse files

[darwin, aarch64-linux] always PIC

parent fe28a062
No related branches found
No related tags found
No related merge requests found
...@@ -199,8 +199,10 @@ typedef struct _CONCURRENT_FLAGS { ...@@ -199,8 +199,10 @@ typedef struct _CONCURRENT_FLAGS {
* When linkerAlwaysPic is true, the runtime linker assume that all object * When linkerAlwaysPic is true, the runtime linker assume that all object
* files were compiled with -fPIC -fexternal-dynamic-refs and load them * files were compiled with -fPIC -fexternal-dynamic-refs and load them
* anywhere in the address space. * anywhere in the address space.
* Note that there is no 32bit darwin system we can realistically expect to
* run on or compile for.
*/ */
#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 #define DEFAULT_LINKER_ALWAYS_PIC true
#else #else
#define DEFAULT_LINKER_ALWAYS_PIC false #define DEFAULT_LINKER_ALWAYS_PIC false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment