summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/boost/boost/boost-math-disable-pch-for-gcc.patch
blob: 9b6fcc63588de4d573ddd61db0b879df42abb59c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From d6864bd78c01c5e8578805a7b67555c70a0e99a2 Mon Sep 17 00:00:00 2001
From: Jackie Huang <jackie.huang@windriver.com>
Date: Fri, 23 Sep 2016 01:04:50 -0700
Subject: [PATCH] boost-math: disable pch for gcc

Upstream-Status: Inappropriate [*]

* It's a work around for a defect when build in parallel:
https://svn.boost.org/trac/boost/ticket/12477

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 libs/math/build/Jamfile.v2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/math/build/Jamfile.v2 b/libs/math/build/Jamfile.v2
index fd840287e..5aff7d724 100644
--- a/libs/math/build/Jamfile.v2
+++ b/libs/math/build/Jamfile.v2
@@ -14,7 +14,7 @@ project
       #<toolset>intel-linux:<pch>off
       <toolset>intel-darwin:<pch>off
       <toolset>msvc-7.1:<pch>off
-      <toolset>gcc,<target-os>windows:<pch>off
+      <toolset>gcc:<pch>off
       #<toolset>gcc:<cxxflags>-fvisibility=hidden
       <toolset>intel-linux:<cxxflags>-fvisibility=hidden
       #<toolset>sun:<cxxflags>-xldscope=hidden