commit 27ce9f5c2041190d48d6be32640e5b7b03b380eb
parent 704c15e711585a156c8f9262eb0fc7704d1353d1
Author: Ted Hess <thess@kitschensync.net>
Date: Thu, 27 Aug 2015 15:14:15 -0400
Merge pull request #1723 from thess/boost-build
boost: Fix building without hard float (fenv.h)
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libs/boost/Makefile b/libs/boost/Makefile
@@ -17,7 +17,7 @@ include $(INCLUDE_DIR)/target.mk
PKG_NAME:=boost
PKG_VERSION:=1_59_0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/boost
@@ -177,6 +177,7 @@ endef
CONFIGURE_PREFIX:=$(PKG_INSTALL_DIR)
TARGET_LDFLAGS += -pthread -lrt
+TARGET_CFLAGS += $(if $(CONFIG_SOFT_FLOAT),-DBOOST_NO_FENV_H)
ifneq ($(findstring mips,$(ARCH)),)
BOOST_ABI = o32