diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-12-20 14:25:05 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-12-20 14:25:05 +0000 |
commit | 014d3b98b96872d020ffccf0358ba60967b3f1c0 (patch) | |
tree | bcc4a331adfa98faa64b5e97b86b1e3d480e11e3 | |
parent | d2d990e41e2d6a5b367fdc18d0ff1c7e987ed208 (diff) | |
download | upstream-014d3b98b96872d020ffccf0358ba60967b3f1c0.tar.gz upstream-014d3b98b96872d020ffccf0358ba60967b3f1c0.tar.bz2 upstream-014d3b98b96872d020ffccf0358ba60967b3f1c0.zip |
gcc: fix newer libstdc++ compile issues with uclibc 0.9.32
SVN-Revision: 24734
-rw-r--r-- | toolchain/gcc/common.mk | 3 |
1 files changed, 3 insertions, 0 deletions
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)" \ |