- Use $RPM_OPT_FLAGS for building, force use of the GCC toolset. Be more verbose and fail building with the first error. - Add boost-gcc5.patch to use -std=c++11 when building the coroutines module which fixes build with GCC 5. OBS-URL: https://build.opensuse.org/request/show/287338 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=140
13 lines
679 B
Diff
13 lines
679 B
Diff
Index: libs/coroutine/build/Jamfile.v2
|
|
===================================================================
|
|
--- libs/coroutine/build/Jamfile.v2.orig 2014-07-09 19:45:23.000000000 +0200
|
|
+++ libs/coroutine/build/Jamfile.v2 2015-02-23 14:30:47.673766402 +0100
|
|
@@ -24,6 +24,7 @@ project boost/coroutine
|
|
<toolset>gcc-4.9,<segmented-stacks>on:<linkflags>"-static-libgcc"
|
|
<toolset>clang-3.4,<segmented-stacks>on:<cxxflags>-fsplit-stack
|
|
<toolset>clang-3.4,<segmented-stacks>on:<linkflags>"-static-libgcc"
|
|
+ <toolset>gcc:<cxxflags>-std=c++11
|
|
<link>shared:<define>BOOST_COROUTINES_DYN_LINK=1
|
|
<define>BOOST_COROUTINES_SOURCE
|
|
: usage-requirements
|