EXTRA_CONFIG = \
--build=$(BUILDTARGET) \
--prefix=/usr \
- --libexecdir=/usr/lib/glibc
+ --libexecdir=/usr/lib/glibc \
+ --enable-stack-protector=strong
else
TARGET = $(DIR_INFO)/$(THISAPP)-tools
EXTRA_CONFIG = \
# Add some general configuration flags
EXTRA_CONFIG += \
+ --enable-obsolete-rpc \
--disable-profile \
--enable-kernel=3.2 \
--enable-add-ons \
--without-selinux \
--enable-experimental-malloc \
- --enable-bind-now \
- --enable-stack-protector=strong
+ --enable-bind-now
###############################################################################
# Top-level Rules
@rm -rf $(DIR_APP) $(DIR_SRC)/glibc-build && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
@mkdir $(DIR_SRC)/glibc-build
+ cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/glibc-localedef-no-archive.patch
+
ifneq "$(TOOLCHAIN)" "1"
ifeq "$(BUILD_ARCH)" "x86_64"
cd $(DIR_APP) && sed -i 's|libs -o|libs -L/usr/lib64 -Wl,-dynamic-linker=/lib64/ld-linux-x86-64.so.2 -o|' \