From: Felix Fietkau Date: Mon, 20 Dec 2010 14:25:05 +0000 (+0000) Subject: gcc: fix newer libstdc++ compile issues with uclibc 0.9.32 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=e1cb372ce35d6d9327786e4061ffbbba4d449192 gcc: fix newer libstdc++ compile issues with uclibc 0.9.32 SVN-Revision: 24734 --- diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index ebc5c1e6db..3a4a94a46a 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)" \