summaryrefslogtreecommitdiffstats
path: root/src/boost.mk
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2012-07-01 18:19:16 (GMT)
committerMark Brand <mabrand@mabrand.nl>2012-07-01 18:41:23 (GMT)
commit2f3bb0e4556e86c13563263b6a9c22274e3f3fcd (patch)
tree8d9f2986d1470388d02ec57d3cfa2c9975889710 /src/boost.mk
parenta5a329b1eed4edefcf4844019b56a56f38b4b8b7 (diff)
downloadmxe-2f3bb0e4556e86c13563263b6a9c22274e3f3fcd.zip
mxe-2f3bb0e4556e86c13563263b6a9c22274e3f3fcd.tar.gz
mxe-2f3bb0e4556e86c13563263b6a9c22274e3f3fcd.tar.bz2
update package boost
Diffstat (limited to 'src/boost.mk')
-rw-r--r--src/boost.mk11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/boost.mk b/src/boost.mk
index 13c36ef..c472eca 100644
--- a/src/boost.mk
+++ b/src/boost.mk
@@ -3,7 +3,7 @@
PKG := boost
$(PKG)_IGNORE :=
-$(PKG)_CHECKSUM := 26a52840e9d12f829e3008589abf0a925ce88524
+$(PKG)_CHECKSUM := ee06f89ed472cf369573f8acf9819fbc7173344e
$(PKG)_SUBDIR := boost_$(subst .,_,$($(PKG)_VERSION))
$(PKG)_FILE := boost_$(subst .,_,$($(PKG)_VERSION)).tar.bz2
$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/boost/boost/$($(PKG)_VERSION)/$($(PKG)_FILE)
@@ -17,9 +17,9 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
+ # old version appears to interfere
+ rm -rf '$(PREFIX)/$(TARGET)/include/boost/'
echo 'using gcc : : $(TARGET)-g++ : <rc>$(TARGET)-windres <archiver>$(TARGET)-ar ;' > '$(1)/user-config.jam'
- # make the build script generate .a library files instead of .lib
- $(SED) -i 's,<target-os>windows : lib ;,<target-os>windows : a ;,' '$(1)/tools/build/v2/tools/types/lib.jam'
# compile boost jam
cd '$(1)/tools/build/v2/engine' && ./build.sh
cd '$(1)' && tools/build/v2/engine/bin.*/bjam \
@@ -45,5 +45,8 @@ define $(PKG)_BUILD
-W -Wall -Werror -ansi -U__STRICT_ANSI__ -pedantic \
'$(2).cpp' -o '$(PREFIX)/$(TARGET)/bin/test-boost.exe' \
-DBOOST_THREAD_USE_LIB \
- -lboost_serialization-mt -lboost_thread_win32-mt
+ -lboost_serialization-mt \
+ -lboost_thread_win32-mt \
+ -lboost_system-mt \
+ -lboost_chrono-mt
endef