From 1647790ae6202bd70b199e2aa44f8eb43e8d3af1 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 24 Mar 2020 18:29:51 -0700 Subject: [PATCH] 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 --- toolchain/gcc/common.mk | 3 --- 1 file changed, 3 deletions(-) diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index 5f237e4520f..090aa2447d8 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