diff options
Diffstat (limited to 'meta/recipes-support/boost/boost')
-rw-r--r-- | meta/recipes-support/boost/boost/boost-math-disable-pch-for-gcc.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-support/boost/boost/boost-math-disable-pch-for-gcc.patch b/meta/recipes-support/boost/boost/boost-math-disable-pch-for-gcc.patch new file mode 100644 index 0000000000..595ba17865 --- /dev/null +++ b/meta/recipes-support/boost/boost/boost-math-disable-pch-for-gcc.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From cabfcba1ff7511ffd6b91ca244288d44f585aad2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jackie Huang <jackie.huang@windriver.com> | ||
3 | Date: Fri, 23 Sep 2016 01:04:50 -0700 | ||
4 | Subject: [PATCH] boost-math: disable pch for gcc | ||
5 | |||
6 | Upstream-Status: Inappropriate [*] | ||
7 | |||
8 | * It's a work around for a defect when build in parallel: | ||
9 | https://svn.boost.org/trac/boost/ticket/12477 | ||
10 | |||
11 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | ||
12 | --- | ||
13 | libs/math/build/Jamfile.v2 | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/libs/math/build/Jamfile.v2 b/libs/math/build/Jamfile.v2 | ||
17 | index e19fb2e..82472a7 100644 | ||
18 | --- a/libs/math/build/Jamfile.v2 | ||
19 | +++ b/libs/math/build/Jamfile.v2 | ||
20 | @@ -13,7 +13,7 @@ project | ||
21 | #<toolset>intel-linux:<pch>off | ||
22 | <toolset>intel-darwin:<pch>off | ||
23 | <toolset>msvc-7.1:<pch>off | ||
24 | - <toolset>gcc,<target-os>windows:<pch>off | ||
25 | + <toolset>gcc:<pch>off | ||
26 | #<toolset>gcc:<cxxflags>-fvisibility=hidden | ||
27 | <toolset>intel-linux:<cxxflags>-fvisibility=hidden | ||
28 | #<toolset>sun:<cxxflags>-xldscope=hidden | ||
29 | -- | ||
30 | 2.7.4 | ||
31 | |||