summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/Makefile
diff options
context:
space:
mode:
authorTim Yardley <lst@openwrt.org>2006-10-26 17:16:13 +0000
committerTim Yardley <lst@openwrt.org>2006-10-26 17:16:13 +0000
commit3e84e18a27638fa22829c3c1476609e88f887e4e (patch)
tree22486f982efc607a0b944ffd527538b9678cf008 /toolchain/uClibc/Makefile
parentdff0c520317c92caf6e3f65df6752dcd5ec6907c (diff)
downloadmtk-20170518-3e84e18a27638fa22829c3c1476609e88f887e4e.zip
mtk-20170518-3e84e18a27638fa22829c3c1476609e88f887e4e.tar.gz
mtk-20170518-3e84e18a27638fa22829c3c1476609e88f887e4e.tar.bz2
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)
SVN-Revision: 5302
Diffstat (limited to 'toolchain/uClibc/Makefile')
-rw-r--r--toolchain/uClibc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile
index b640405..7fdba8a 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