mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
glibc: Enable hard float abi when compiling for armv7hl
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user