unconditionally enable c99 math support in uclibc - many packages need it
authorFelix Fietkau <nbd@openwrt.org>
Sat, 29 Dec 2007 18:07:56 +0000 (18:07 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 29 Dec 2007 18:07:56 +0000 (18:07 +0000)
SVN-Revision: 10024

toolchain/Config.in
toolchain/uClibc/Makefile
toolchain/uClibc/config/arm
toolchain/uClibc/config/armeb
toolchain/uClibc/config/avr32
toolchain/uClibc/config/cris
toolchain/uClibc/config/i386
toolchain/uClibc/config/i686
toolchain/uClibc/config/mips
toolchain/uClibc/config/mipsel
toolchain/uClibc/config/powerpc

index 64e4372..ed5a939 100644 (file)
@@ -27,13 +27,6 @@ config LARGEFILE
        help
                Enable large file (files > 2 GB) support
 
-config C99_MATH
-       bool
-       prompt "Enable full C99 math support?" if TOOLCHAINOPTS
-       default n
-       help
-               Enable if you need full C99 math in libm
-
 config SOFT_FLOAT
        bool
        prompt "Use software floating point by default" if TOOLCHAINOPTS
index e992584..a9093a9 100644 (file)
@@ -46,7 +46,6 @@ define Build/Prepare
        $(SED) 's,^KERNEL_HEADERS=.*,KERNEL_HEADERS=\"$(LINUX_HEADERS_DIR)/include\",g' \
                -e 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=$(if $(CONFIG_SOFT_FLOAT),n\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=y,y),g' \
                -e 's,^.*UCLIBC_HAS_LFS.*,UCLIBC_HAS_LFS=$(if $(CONFIG_LARGEFILE),y,n),g' \
-               -e 's,.*DO_C99_MATH.*,DO_C99_MATH=$(if $(CONFIG_C99_MATH),y,n),g' \
                $(PKG_BUILD_DIR)/.config
        mkdir -p $(BUILD_DIR_HOST)/uClibc_dev/usr/include
        mkdir -p $(BUILD_DIR_HOST)/uClibc_dev/usr/lib
index 53437c2..0cd1ae2 100644 (file)
@@ -58,7 +58,7 @@ ARCH_USE_MMU=y
 UCLIBC_HAS_FLOATS=y
 UCLIBC_HAS_FPU=y
 UCLIBC_HAS_SOFT_FLOAT=y
-# DO_C99_MATH is not set
+DO_C99_MATH=y
 KERNEL_SOURCE="./toolchain_build_arm/linux"
 KERNEL_HEADERS="./toolchain_build_arm/linux/include"
 HAVE_DOT_CONFIG=y
index 3367204..0dfc73b 100644 (file)
@@ -59,7 +59,7 @@ ARCH_USE_MMU=y
 UCLIBC_HAS_FLOATS=y
 UCLIBC_HAS_FPU=y
 UCLIBC_HAS_SOFT_FLOAT=y
-# DO_C99_MATH is not set
+DO_C99_MATH=y
 KERNEL_SOURCE="./toolchain_build_armeb/linux"
 KERNEL_HEADERS="./toolchain_build_armeb/linux/include"
 HAVE_DOT_CONFIG=y
index e630308..de685cd 100644 (file)
@@ -43,7 +43,7 @@ ARCH_USE_MMU=y
 UCLIBC_HAS_FLOATS=y
 UCLIBC_HAS_FPU=y
 UCLIBC_HAS_SOFT_FLOAT=y
-# DO_C99_MATH is not set
+DO_C99_MATH=y
 KERNEL_SOURCE="./toolchain_build_avr32/linux/include"
 KERNEL_HEADERS="./toolchain_build_avr32/linux/include"
 HAVE_DOT_CONFIG=y
index 8a018d9..389ba8a 100644 (file)
@@ -37,7 +37,7 @@ ARCH_HAS_MMU=y
 UCLIBC_HAS_FLOATS=y
 # HAS_FPU is not set
 UCLIBC_HAS_SOFT_FLOAT=y
-# DO_C99_MATH is not set
+DO_C99_MATH=y
 KERNEL_SOURCE="/raid/trunk/toolchain_build_cris/linux"
 C_SYMBOL_PREFIX=""
 HAVE_DOT_CONFIG=y
index 6f27107..2f5a38b 100644 (file)
@@ -63,7 +63,7 @@ ARCH_HAS_MMU=y
 ARCH_USE_MMU=y
 UCLIBC_HAS_FLOATS=y
 UCLIBC_HAS_FPU=y
-# DO_C99_MATH is not set
+DO_C99_MATH=y
 KERNEL_HEADERS="."
 HAVE_DOT_CONFIG=y
 
index 2828d25..d3cae70 100644 (file)
@@ -63,7 +63,7 @@ ARCH_HAS_MMU=y
 ARCH_USE_MMU=y
 UCLIBC_HAS_FLOATS=y
 UCLIBC_HAS_FPU=y
-# DO_C99_MATH is not set
+DO_C99_MATH=y
 KERNEL_HEADERS="."
 HAVE_DOT_CONFIG=y
 
index 204d4f7..07e6ec3 100644 (file)
@@ -56,7 +56,7 @@ ARCH_HAS_MMU=y
 ARCH_USE_MMU=y
 UCLIBC_HAS_FPU=y
 UCLIBC_HAS_FLOATS=y
-# DO_C99_MATH is not set
+DO_C99_MATH=y
 KERNEL_SOURCE="./toolchain_build_mips/linux"
 KERNEL_HEADERS="./toolchain_build_mips/linux/include"
 HAVE_DOT_CONFIG=y
index 2fdb152..0cb3983 100644 (file)
@@ -56,7 +56,7 @@ ARCH_HAS_MMU=y
 ARCH_USE_MMU=y
 UCLIBC_HAS_FLOATS=y
 UCLIBC_HAS_FPU=y
-# DO_C99_MATH is not set
+DO_C99_MATH=y
 KERNEL_SOURCE="./toolchain_build_mipsel/linux"
 KERNEL_HEADERS="./toolchain_build_mipsel/linux/include"
 HAVE_DOT_CONFIG=y
index af0db32..b27efe7 100644 (file)
@@ -46,7 +46,7 @@ ARCH_HAS_MMU=y
 ARCH_USE_MMU=y
 UCLIBC_HAS_FLOATS=y
 UCLIBC_HAS_FPU=y
-# DO_C99_MATH is not set
+DO_C99_MATH=y
 KERNEL_SOURCE="./toolchain_build_powerpc/linux"
 KERNEL_HEADERS="./toolchain_build_powerpc/linux/include"
 HAVE_DOT_CONFIG=y