diff options
author | pavlov <pavlov@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-10-26 17:16:13 +0000 |
---|---|---|
committer | pavlov <pavlov@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-10-26 17:16:13 +0000 |
commit | 95423fe02ea223f9b60df776df795af33402a81c (patch) | |
tree | 19ef8485480206dff6b815af265b86a0b2c18902 /toolchain/uClibc/Makefile | |
parent | 93b646c8f58b3e84b3b3db1ab73f2cad4a44a650 (diff) |
add a configuration option to enable full c99 math in libm. this is needed for functions like floorf (which happens to be used in postgresql server as an example)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5302 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/uClibc/Makefile')
-rw-r--r-- | toolchain/uClibc/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile index b640405dd..7fdba8ade 100644 --- a/toolchain/uClibc/Makefile +++ b/toolchain/uClibc/Makefile @@ -52,6 +52,9 @@ endif ifeq ($(CONFIG_SOFT_FLOAT),y) $(SED) 's,.*HAS_FPU.*,HAS_FPU=n\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=y,g' $(PKG_BUILD_DIR)/.config endif +ifeq ($(CONFIG_C99_MATH),y) + $(SED) 's,.*DO_C99_MATH.*,DO_C99_MATH=y,g' $(PKG_BUILD_DIR)/.config +endif mkdir -p $(TOOLCHAIN_BUILD_DIR)/uClibc_dev/usr/include mkdir -p $(TOOLCHAIN_BUILD_DIR)/uClibc_dev/usr/lib mkdir -p $(TOOLCHAIN_BUILD_DIR)/uClibc_dev/lib |