glibc: Enable hard float abi when compiling for armv7hl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2017-04-19 09:17:27 +01:00
parent 0c24d56d7c
commit de1928cca7

View File

@@ -53,6 +53,10 @@ endif
# Enable some extra optimization for the glibc code
CFLAGS = -O3 -DNDEBUG -fasynchronous-unwind-tables -fPIC -DPIC
ifeq "$(MACHINE)" "armv7hl"
CFLAGS += -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard
endif
ifeq "$(MACHINE)" "i586"
CFLAGS += -march=i586 -mtune=generic -mno-tls-direct-seg-refs
endif