From: Michael Tremer Date: Mon, 6 Aug 2012 18:19:35 +0000 (+0200) Subject: glibc: Add some more conifgure flags. X-Git-Tag: v2.13-beta1~307^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=af4bfa79951880aebfa0a6ae22b9f583624ebac9;p=people%2Fstevee%2Fipfire-2.x.git glibc: Add some more conifgure flags. Enable experimental malloc and clean up redundant lines. --- diff --git a/lfs/glibc b/lfs/glibc index 0ce510c9f8..b215d35041 100644 --- a/lfs/glibc +++ b/lfs/glibc @@ -36,30 +36,42 @@ DIR_APP = $(DIR_SRC)/$(THISAPP) # ifeq "$(ROOT)" "" TARGET = $(DIR_INFO)/$(THISAPP) - EXTRA_CONFIG = --prefix=/usr \ - --disable-profile --enable-add-ons \ - --enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc + EXTRA_CONFIG = \ + --prefix=/usr \ + --libexecdir=/usr/lib/glibc EXTRA_MAKE = EXTRA_INSTALL = else TARGET = $(DIR_INFO)/$(THISAPP)-tools - EXTRA_CONFIG = --prefix=/tools \ - --disable-profile --enable-add-ons \ - --enable-kernel=2.6.0 --with-binutils=/tools/bin \ - --without-gd --with-headers=/tools/include \ - --without-selinux + EXTRA_CONFIG = \ + --prefix=/tools \ + --with-binutils=/tools/bin \ + --with-headers=/tools/include \ + --without-gd EXTRA_MAKE = EXTRA_INSTALL = endif EXTRA_CONFIG += --build=$(BUILDTARGET) +# Enable some extra optimization for the glibc code. +export CFLAGS := $(subst -O2,-O3,$(CFLAGS)) + ifeq "$(MACHINE_TYPE)" "arm" # Disable hardware FP for ARM. EXTRA_CONFIG += \ --without-fp endif +# Add some general configuration flags +EXTRA_CONFIG += \ + --disable-profile \ + --enable-kernel=2.6.16 \ + --enable-add-ons \ + --without-selinux \ + --enable-experimental-malloc \ + --enable-bind-now + ############################################################################### # Top-level Rules ###############################################################################