X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fglibc;fp=lfs%2Fglibc;h=67f13a3fb34138ff80c7d33971f112f2478cbd69;hp=d850a503c598006293f1bced6ae4c0a4257d4762;hb=de1928cca7aef30c0aadb2cd6fecbb7bd07790f9;hpb=0c24d56d7c67b6c25250c4d50b83006cdddc9f93 diff --git a/lfs/glibc b/lfs/glibc index d850a503c5..67f13a3fb3 100644 --- a/lfs/glibc +++ b/lfs/glibc @@ -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