瀏覽代碼

Merge pull request #1723 from thess/boost-build

boost: Fix building without hard float (fenv.h)
Ted Hess 9 年之前
父節點
當前提交
27ce9f5c20
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. 2
    1
      libs/boost/Makefile

+ 2
- 1
libs/boost/Makefile 查看文件

@@ -17,7 +17,7 @@ include $(INCLUDE_DIR)/target.mk
17 17
 
18 18
 PKG_NAME:=boost
19 19
 PKG_VERSION:=1_59_0
20
-PKG_RELEASE:=1
20
+PKG_RELEASE:=2
21 21
 
22 22
 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
23 23
 PKG_SOURCE_URL:=@SF/boost
@@ -177,6 +177,7 @@ endef
177 177
 CONFIGURE_PREFIX:=$(PKG_INSTALL_DIR)
178 178
 TARGET_LDFLAGS += -pthread -lrt
179 179
 
180
+TARGET_CFLAGS += $(if $(CONFIG_SOFT_FLOAT),-DBOOST_NO_FENV_H)
180 181
 
181 182
 ifneq ($(findstring mips,$(ARCH)),)
182 183
     BOOST_ABI = o32