diff options
Diffstat (limited to 'toolchain/glibc')
-rw-r--r-- | toolchain/glibc/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile index ecd6f8d2b..4d87f5789 100644 --- a/toolchain/glibc/Makefile +++ b/toolchain/glibc/Makefile @@ -19,13 +19,17 @@ TARGET_CXXFLAGS:= $(filter-out -ffast-math,$(TARGET_CXXFLAGS)) GLIBC_CONFOPTS:= --build=$(GNU_HOST_NAME) \ --host=$(GNU_TARGET_NAME) \ --with-headers=$(STAGING_TARGET_DIR)/usr/include \ - --enable-stackguard-randomization \ --disable-sanity-checks \ - --disable-nls \ --disable-werror \ --disable-nscd \ --enable-shared +ifeq ($(ADK_TARGET_LINUX_ARCH_SPARC64),y) +GLIBC_CONFOPTS+= --disable-default-pie +else +GLIBC_CONFOPTS+= --enable-default-pie +endif + ifeq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY),y) GLIBC_CONFOPTS+= --enable-static-nss endif |