From: Stephen Walker Date: Mon, 23 Jan 2012 12:31:38 +0000 (+0000) Subject: [packages] boost: fix compile failure (#10535, thanks zhenglei), refresh patches X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=686846930ac60b23e8cc9860dec235c888b3327d [packages] boost: fix compile failure (#10535, thanks zhenglei), refresh patches SVN-Revision: 29873 --- diff --git a/libs/boost/Makefile b/libs/boost/Makefile index af0bbc3075..d9c5e27137 100644 --- a/libs/boost/Makefile +++ b/libs/boost/Makefile @@ -149,7 +149,7 @@ TARGET_LDFLAGS += -pthreads -lrt define Build/Compile ( cd $(PKG_BUILD_DIR) ; \ - echo "using gcc : : $(GNU_TARGET_NAME)-gcc : $(TARGET_CFLAGS) $(TARGET_CXXFLAGS) $(TARGET_LDFLAGS) ;" > tools/build/v2/site-config.jam ; \ + echo "using gcc : : $(GNU_TARGET_NAME)-gcc : \"$(TARGET_CFLAGS)\" \"$(TARGET_CXXFLAGS)\" \"$(TARGET_LDFLAGS)\" ;" > tools/build/v2/site-config.jam ; \ $(if $(CONFIG_PACKAGE_boost-python), \ echo "using python : : $(STAGING_DIR_ROOT)/usr/bin/python : $(STAGING_DIR)/usr/include/python2.6/ ;" >> \ tools/build/v2/site-config.jam; \ diff --git a/libs/boost/patches/100-do-not-use-librt.patch b/libs/boost/patches/100-do-not-use-librt.patch index 7f1d4f6ff3..b8e62a56ca 100644 --- a/libs/boost/patches/100-do-not-use-librt.patch +++ b/libs/boost/patches/100-do-not-use-librt.patch @@ -1,7 +1,6 @@ -diff -ruN boost_1_48_0.orig/tools/build/v2/tools/gcc.jam boost_1_48_0/tools/build/v2/tools/gcc.jam ---- boost_1_48_0.orig/tools/build/v2/tools/gcc.jam 2011-06-06 22:36:21.000000000 +0200 -+++ boost_1_48_0/tools/build/v2/tools/gcc.jam 2011-11-16 13:15:49.071254804 +0100 -@@ -1063,8 +1063,7 @@ +--- a/tools/build/v2/tools/gcc.jam ++++ b/tools/build/v2/tools/gcc.jam +@@ -1018,8 +1018,7 @@ rule setup-threading ( targets * : sourc } case * : { @@ -11,10 +10,9 @@ diff -ruN boost_1_48_0.orig/tools/build/v2/tools/gcc.jam boost_1_48_0/tools/buil } } -diff -ruN boost_1_48_0.orig/tools/build/v2/tools/gcc.py boost_1_48_0/tools/build/v2/tools/gcc.py ---- boost_1_48_0.orig/tools/build/v2/tools/gcc.py 2011-01-25 19:06:12.000000000 +0100 -+++ boost_1_48_0/tools/build/v2/tools/gcc.py 2011-11-16 13:16:12.601254423 +0100 -@@ -685,8 +685,8 @@ +--- a/tools/build/v2/tools/gcc.py ++++ b/tools/build/v2/tools/gcc.py +@@ -685,8 +685,8 @@ elif bjam.variable('UNIX'): # Darwin has no threading options, don't set anything here. pass else: