From: Luka Perkov Date: Mon, 14 Jul 2014 20:28:53 +0000 (+0000) Subject: toolchain/gcc: pass proper flags for arm hard float build X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8e4f0ec38de04617c2433d0c038baef700b59805;p=openwrt%2Fstaging%2Fstintel.git toolchain/gcc: pass proper flags for arm hard float build This fixes eglibc build failure. More information about the bug can be found on the link below. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61796 Signed-off-by: Luka Perkov SVN-Revision: 41657 --- diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index 5dfbc488cd..e8ca778e6e 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -162,6 +162,13 @@ ifneq ($(GCC_ARCH),) GCC_CONFIGURE+= --with-arch=$(GCC_ARCH) endif +ifneq ($(CONFIG_SOFT_FLOAT),y) + ifeq ($(CONFIG_arm),y) + GCC_CONFIGURE+= \ + --with-float=hard + endif +endif + GCC_MAKE:= \ export SHELL="$(BASH)"; \ $(MAKE) \