summaryrefslogtreecommitdiff
path: root/toolchain/glibc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/glibc/Makefile')
-rw-r--r--toolchain/glibc/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile
index 3b3220b73..d0ce23117 100644
--- a/toolchain/glibc/Makefile
+++ b/toolchain/glibc/Makefile
@@ -15,6 +15,7 @@ endif
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 \
@@ -25,20 +26,12 @@ GLIBC_CONFOPTS:= --build=$(GNU_HOST_NAME) \
--with-__thread \
--with-tls \
--enable-shared \
- --enable-kernel="2.6.32" \
- --enable-add-ons
+ --enable-kernel="2.6.32"
ifeq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY),y)
GLIBC_CONFOPTS+= --enable-static-nss
endif
-ifeq ($(ADK_TARGET_FLOAT),soft)
-GLIBC_CONFOPTS+= --without-fp
-endif
-ifeq ($(ADK_TARGET_FLOAT),hard)
-GLIBC_CONFOPTS+= --with-fp
-endif
-
GLIBC_ENV:= PATH='${TARGET_PATH}' \
BUILD_CC=${CC_FOR_BUILD} \
CFLAGS="$(TARGET_CFLAGS)" \
@@ -66,7 +59,6 @@ $(WRKBUILD)/.configured:
${GLIBC_ENV} \
$(WRKBUILD)/configure \
--prefix=/usr \
- --enable-stackguard-randomization \
${GLIBC_CONFOPTS} \
);
touch $@