From 1e0dae1684f6811b5232b5a46a02fe15680fd2c6 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 20 Dec 2010 14:25:05 +0000 Subject: [PATCH] gcc: fix newer libstdc++ compile issues with uclibc 0.9.32 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24734 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/gcc/common.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index ebc5c1e6d..3a4a94a46 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -95,6 +95,9 @@ SEP:=, TARGET_LANGUAGES:="c$(if $(CONFIG_INSTALL_LIBSTDCPP),$(SEP)c++)$(if $(CONFIG_INSTALL_LIBGCJ),$(SEP)java)" export libgcc_cv_fixed_point=no +ifdef CONFIG_USE_UCLIBC + export glibcxx_cv_c99_math_tr1=no +endif GCC_CONFIGURE:= \ SHELL="$(BASH)" \ -- 2.20.1