Author: luka Date: 2014-07-14 22:28:53 +0200 (Mon, 14 Jul 2014) New Revision: 41657
Modified: trunk/toolchain/gcc/common.mk Log: 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 <[email protected]> Modified: trunk/toolchain/gcc/common.mk =================================================================== --- trunk/toolchain/gcc/common.mk 2014-07-14 18:43:12 UTC (rev 41656) +++ trunk/toolchain/gcc/common.mk 2014-07-14 20:28:53 UTC (rev 41657) @@ -162,6 +162,13 @@ 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) \ _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
