diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-10-21 23:39:26 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-10-21 23:39:26 +0000 |
commit | 0ecec99dac133ca7a5374473c74fae73add9d565 (patch) | |
tree | 01af22442a350fc94c87f308671db34d5de2e2d1 /toolchain | |
parent | 3a5b5de6e50fb2d7c7c4d9105c07a1348e1fd237 (diff) | |
download | upstream-0ecec99dac133ca7a5374473c74fae73add9d565.tar.gz upstream-0ecec99dac133ca7a5374473c74fae73add9d565.tar.bz2 upstream-0ecec99dac133ca7a5374473c74fae73add9d565.zip |
make uclibc a bit smaller
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2219 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/uClibc/files/config.i386 | 2 | ||||
-rw-r--r-- | toolchain/uClibc/files/config.mipsel | 2 | ||||
-rw-r--r-- | toolchain/uClibc/patches/120-more_standard_math.patch | 12 |
3 files changed, 14 insertions, 2 deletions
diff --git a/toolchain/uClibc/files/config.i386 b/toolchain/uClibc/files/config.i386 index c76d946f11..b1a9ec3a1c 100644 --- a/toolchain/uClibc/files/config.i386 +++ b/toolchain/uClibc/files/config.i386 @@ -57,7 +57,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 KERNEL_SOURCE="./toolchain_build_i386/linux" C_SYMBOL_PREFIX="" HAVE_DOT_CONFIG=y diff --git a/toolchain/uClibc/files/config.mipsel b/toolchain/uClibc/files/config.mipsel index 8c94447789..0c756b5f5d 100644 --- a/toolchain/uClibc/files/config.mipsel +++ b/toolchain/uClibc/files/config.mipsel @@ -42,7 +42,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 KERNEL_SOURCE="./toolchain_build_mipsel/linux" C_SYMBOL_PREFIX="" HAVE_DOT_CONFIG=y diff --git a/toolchain/uClibc/patches/120-more_standard_math.patch b/toolchain/uClibc/patches/120-more_standard_math.patch new file mode 100644 index 0000000000..f7d626ac03 --- /dev/null +++ b/toolchain/uClibc/patches/120-more_standard_math.patch @@ -0,0 +1,12 @@ +diff -urN uClibc.old/libm/Makefile uClibc.dev/libm/Makefile +--- uClibc.old/libm/Makefile 2005-08-18 00:49:41.000000000 +0200 ++++ uClibc.dev/libm/Makefile 2005-10-22 00:56:03.106683500 +0200 +@@ -81,6 +81,8 @@ + w_cosh.c w_exp.c s_fabs.c s_floor.c w_fmod.c s_frexp.c \ + s_ldexp.c w_log.c w_log10.c s_modf.c w_pow.c s_sin.c \ + w_sinh.c w_sqrt.c s_tan.c s_tanh.c ++# extra stuff required for some apps ++CSRC+= fpmacros.c nan.c s_rint.c e_hypot.c w_hypot.c + CSRC+= s_expm1.c s_scalbn.c s_copysign.c e_acos.c e_asin.c e_atan2.c \ + k_cos.c e_cosh.c e_exp.c e_fmod.c e_log.c e_log10.c e_pow.c \ + k_sin.c e_sinh.c e_sqrt.c k_tan.c e_rem_pio2.c k_rem_pio2.c \ |