mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-21 16:32:59 +02:00
glibc: Drop any custom CFLAGS
glibc is nothing special and can and should be built with the same flags than the rest of the system. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
15
lfs/glibc
15
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 += \
|
||||
|
||||
Reference in New Issue
Block a user