X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fglibc;fp=lfs%2Fglibc;h=546b53b12aad0ffebdb3979deac0fb193cff294d;hp=7c12ea48ad7617c466e5c6ebd39f1317a0c18682;hb=a7f6809c7fc104acf6b39549ecaca59ed1a277b6;hpb=d9d28c2c359675157cce9e894f438e2e8aeec78d diff --git a/lfs/glibc b/lfs/glibc index 7c12ea48ad..546b53b12a 100644 --- a/lfs/glibc +++ b/lfs/glibc @@ -51,21 +51,6 @@ else libc_cv_c_cleanup=yes endif -# Enable some extra optimization for the glibc code -CFLAGS = -O3 -DNDEBUG -fasynchronous-unwind-tables -fPIC -DPIC - -ifeq "$(BUILD_ARCH)" "armv7hl" - CFLAGS += -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -endif - -ifeq "$(BUILD_ARCH)" "i586" - CFLAGS += -march=i586 -mtune=generic -mindirect-branch=thunk -mfunction-return=thunk -mno-tls-direct-seg-refs -endif - -ifeq "$(BUILD_ARCH)" "x86_64" - CFLAGS += -mindirect-branch=thunk -mfunction-return=thunk -endif - # Disable hardware FP for armv5tel ifeq "$(BUILD_ARCH)" "armv5tel" EXTRA_CONFIG += \