From: Ted Hess Date: Thu, 27 Aug 2015 18:31:29 +0000 (-0400) Subject: boost: Fix building without hard float (fenv.h) X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=fbef12c6a6f8bea866fc3dc697ad529c1fb4cd9c;p=openwrt-packages.git boost: Fix building without hard float (fenv.h) Signed-off-by: Ted Hess --- diff --git a/libs/boost/Makefile b/libs/boost/Makefile index 2a6e9f3e5..92fb68b1b 100644 --- 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