summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/boost/files/0001-Build-debug-version-of-bjam.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-08-26 16:26:28 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-28 11:31:21 +0100
commit270a33863e1e221461f85fa6f6657c462db849a1 (patch)
treeadd24a7e864f52fefb0f91aac0e56ea1dec02109 /meta/recipes-support/boost/files/0001-Build-debug-version-of-bjam.patch
parent601c222f867bf3316ee9bdbee6f9eccb000c0042 (diff)
downloadpoky-270a33863e1e221461f85fa6f6657c462db849a1.tar.gz
boost: update to 1.71.0
Some notes: - bjam bootstrap scripts were changed, and the patch for that had to be adjusted. tools/build/src/engine/build.sh now supports an --debug option which the bjam-native recipe can use to get the debug build of b2. - a related patch was added to address a speed regression with the debug version of bjam - gcc.jam patch had to be refreshed because boost added more "cpu-flags" lines. - since 1.70.0, boost includes new cmake config files which are packaged in ${PN}-dev now so they make it into the SDK. (although 1.71.0 is needed to fix some bugs in them) (From OE-Core rev: 810aded01fc2ae2c27c2573135c20947453e50c6) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/boost/files/0001-Build-debug-version-of-bjam.patch')
-rw-r--r--meta/recipes-support/boost/files/0001-Build-debug-version-of-bjam.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-support/boost/files/0001-Build-debug-version-of-bjam.patch b/meta/recipes-support/boost/files/0001-Build-debug-version-of-bjam.patch
new file mode 100644
index 0000000000..c6dcee915e
--- /dev/null
+++ b/meta/recipes-support/boost/files/0001-Build-debug-version-of-bjam.patch
@@ -0,0 +1,38 @@
1From 19c117c3d1388654da484e26afb3fb6c3e4181a9 Mon Sep 17 00:00:00 2001
2From: Daniel Klauer <daniel.klauer@gin.de>
3Date: Tue, 30 Jul 2019 11:39:09 +0200
4Subject: [PATCH] Build debug version of bjam
5
6bjam is stripped by default, this causes QA warning while stripping it
7from do_populate_sysroot():
8
9 WARNING: File '.../tmp/sysroots/x86_64-linux/usr/bin/bjam' \
10 from bjam-native was already stripped, \
11 this will prevent future debugging!
12
13The JAM scripts allow to build unstripped version with '--debug'. Just
14build and install the bjam.debug to stop bjam from being stripped in
15compile step.
16
17Upstream-Status: Inappropriate [configuration]
18Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
19---
20 bootstrap.sh | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23diff --git a/bootstrap.sh b/bootstrap.sh
24index ca0b08d58..87f38dcf2 100755
25--- a/bootstrap.sh
26+++ b/bootstrap.sh
27@@ -223,7 +223,7 @@ rm -f config.log
28 if test "x$BJAM" = x; then
29 $ECHO -n "Building Boost.Build engine with toolset $TOOLSET... "
30 pwd=`pwd`
31- (cd "$my_dir/tools/build/src/engine" && ./build.sh "$TOOLSET") > bootstrap.log 2>&1
32+ (cd "$my_dir/tools/build/src/engine" && ./build.sh "$TOOLSET" --debug) > bootstrap.log 2>&1
33 if [ $? -ne 0 ]; then
34 echo
35 echo "Failed to build Boost.Build build engine"
36--
372.17.1
38