summaryrefslogtreecommitdiff
path: root/toolchain/glibc/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/glibc/Makefile.inc')
-rw-r--r--toolchain/glibc/Makefile.inc38
1 files changed, 0 insertions, 38 deletions
diff --git a/toolchain/glibc/Makefile.inc b/toolchain/glibc/Makefile.inc
index 942d8ce6d..3a261c069 100644
--- a/toolchain/glibc/Makefile.inc
+++ b/toolchain/glibc/Makefile.inc
@@ -32,41 +32,3 @@ PKG_RELEASE:= 1
PKG_HASH:= 2d3997f588401ea095a0b27227b1d50cdfdd416236f6567b564549d3b46ea2a2
endif
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.xz
-GLIBC_CONFOPTS:= --build=$(GNU_HOST_NAME) \
- --host=$(GNU_TARGET_NAME) \
- --with-headers=$(STAGING_TARGET_DIR)/usr/include \
- --disable-sanity-checks \
- --disable-werror \
- --disable-nls \
- --disable-werror \
- --without-cvs \
- --disable-profile \
- --disable-debug \
- --without-gd \
- --disable-nscd \
- --with-__thread \
- --with-tls \
- --enable-kernel="2.6.32" \
- --enable-add-ons
-ifeq ($(ADK_TARGET_FLOAT),soft)
-GLIBC_CONFOPTS+= --without-fp
-endif
-ifeq ($(ADK_TARGET_FLOAT),hard)
-GLIBC_CONFOPTS+= --with-fp
-endif
-TARGET_CFLAGS:= $(filter-out -fno-asynchronous-unwind-tables,$(TARGET_CFLAGS))
-TARGET_CFLAGS:= $(filter-out -fstack-protector-all,$(TARGET_CFLAGS))
-TARGET_LDFLAGS:= $(filter-out -fstack-protector-all,$(TARGET_LDFLAGS))
-GLIBC_ENV:= PATH='${TARGET_PATH}' \
- CONFIG_SHELL='$(strip ${SHELL})' \
- BUILD_CC=${CC_FOR_BUILD} \
- CFLAGS="$(TARGET_CFLAGS)" \
- CC="${TARGET_CC}" \
- CXX="${TARGET_CXX}" \
- AR="${TARGET_AR}" \
- RANLIB="${TARGET_RANLIB}" \
- libc_cv_forced_unwind=yes \
- libc_cv_cc_with_libunwind=yes \
- libc_cv_c_cleanup=yes \
- libc_cv_gnu99_inline=yes \
- libc_cv_initfini_array=yes \