From 147b6dfbb75f88c915d71322e8bba67ef70dcf19 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 7 Nov 2005 19:49:08 +0000 Subject: [PATCH] remove large parts of c99 math support in uclibc (not needed for any of our packages, backport from trunk) SVN-Revision: 2389 --- openwrt/toolchain/uClibc/files/config.mips | 2 +- .../patches/{gcc4.0-fix.patch => 100-gcc4_fix.patch} | 0 ...ts_resolve.patch => 110-inet6_hosts_resolve.patch} | 0 .../uClibc/patches/120-more_standard_math.patch | 11 +++++++++++ 4 files changed, 12 insertions(+), 1 deletion(-) rename openwrt/toolchain/uClibc/patches/{gcc4.0-fix.patch => 100-gcc4_fix.patch} (100%) rename openwrt/toolchain/uClibc/patches/{inet6_hosts_resolve.patch => 110-inet6_hosts_resolve.patch} (100%) create mode 100644 openwrt/toolchain/uClibc/patches/120-more_standard_math.patch diff --git a/openwrt/toolchain/uClibc/files/config.mips b/openwrt/toolchain/uClibc/files/config.mips index 32859af165..9a7ca50854 100644 --- a/openwrt/toolchain/uClibc/files/config.mips +++ b/openwrt/toolchain/uClibc/files/config.mips @@ -40,7 +40,7 @@ ARCH_LITTLE_ENDIAN=y ARCH_HAS_MMU=y UCLIBC_HAS_FLOATS=y HAS_FPU=y -DO_C99_MATH=y +# DO_C99_MATH is not set WARNINGS="-Wall" KERNEL_SOURCE="./toolchain_build_mipsel/linux" C_SYMBOL_PREFIX="" diff --git a/openwrt/toolchain/uClibc/patches/gcc4.0-fix.patch b/openwrt/toolchain/uClibc/patches/100-gcc4_fix.patch similarity index 100% rename from openwrt/toolchain/uClibc/patches/gcc4.0-fix.patch rename to openwrt/toolchain/uClibc/patches/100-gcc4_fix.patch diff --git a/openwrt/toolchain/uClibc/patches/inet6_hosts_resolve.patch b/openwrt/toolchain/uClibc/patches/110-inet6_hosts_resolve.patch similarity index 100% rename from openwrt/toolchain/uClibc/patches/inet6_hosts_resolve.patch rename to openwrt/toolchain/uClibc/patches/110-inet6_hosts_resolve.patch diff --git a/openwrt/toolchain/uClibc/patches/120-more_standard_math.patch b/openwrt/toolchain/uClibc/patches/120-more_standard_math.patch new file mode 100644 index 0000000000..9f659c78d5 --- /dev/null +++ b/openwrt/toolchain/uClibc/patches/120-more_standard_math.patch @@ -0,0 +1,11 @@ +--- uClibc.old/libm/Makefile 2005-01-12 08:59:21.000000000 +0100 ++++ uClibc.dev/libm/Makefile 2005-11-07 17:24:37.155983750 +0100 +@@ -78,6 +78,8 @@ + s_finite.c + # We'll add sqrtf to avoid different configurations of libstdc++. + CSRC+= w_sqrtf.c ++# extra stuff required for some apps ++CSRC+= fpmacros.c nan.c s_rint.c e_hypot.c w_hypot.c + endif + COBJS=$(patsubst %.c,%.o, $(CSRC)) + OBJS=$(COBJS) -- 2.30.2