From: Rosen Penev Date: Wed, 25 Mar 2020 01:29:51 +0000 (-0700) Subject: toolchain/gcc: remove uclibc hack X-Git-Tag: v21.02.0-rc1~3090 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=1647790ae6202bd70b199e2aa44f8eb43e8d3af1 toolchain/gcc: remove uclibc hack This was introduced with 014d3b98b96872d020ffccf0358ba60967b3f1c0 , which is almost 10 years old. uClibc-ng does not suffer from this problem. Note that this hack prevents libstdc++ from using C++11 math functions. Tested by removing all of the mpd patches designed to fix this and compiling. Signed-off-by: Rosen Penev --- diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index 5f237e4520..090aa2447d 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -74,9 +74,6 @@ TAR_OPTIONS += \ --exclude=libjava export libgcc_cv_fixed_point=no -ifdef CONFIG_USE_UCLIBC - export glibcxx_cv_c99_math_tr1=no -endif ifdef CONFIG_INSTALL_GCCGO export libgo_cv_c_split_stack_supported=no endif