boost/boost-disable-pch-on-aarch64.patch
Stephan Kulow 540c5bdf5e Accepting request 306161 from home:dirkmueller:branches:devel:libraries:c_c++
- update to 1.58.0:
  boost docs remain at 1.56 since upstream hasn't updated yet
  * New Libraries: Endian, Sort.
  * Updated Libraries: Asio, Chrono, Container, Context, Conversion,
  DateTime, Flyweight, Function, Functional/Factory, Fusion, Geometry,
  Hash, Interprocess, Intrusive, Lexical Cast, Log, Math, Move,
  Multi-index Containers, Multiprecision, Optional, Phoenix,
  Predef, Random, Thread, TypeErasure, TypeIndex, Units,
  Unordered, Variant.
  See http://www.boost.org/users/history/version_1_58_0.html
- add 0001-Fix-exec_file-for-Python-3-3.4.patch ,
  0002-Fix-a-regression-with-non-constexpr-types.patch: Fixes regressions
  in 1.58
- drop bjam-alignment.patch, boost-gcc5.patch: Already fixed upstream
  differently
- add boost-rpmoptflags-only.patch: Build only with optflags
- add boost-aarch64-flags.patch: Avoid using -m64
- add boost-uuid-comparison.patch: Fix regression in UUID operator<
- add boost-disable-pch-on-aarch64.patch: Disable pch on math library
  to avoid compiler segfault

OBS-URL: https://build.opensuse.org/request/show/306161
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=144
2015-05-10 09:07:49 +00:00

75 lines
2.6 KiB
Diff

Index: boost_1_58_0/libs/math/build/Jamfile.v2
===================================================================
--- boost_1_58_0.orig/libs/math/build/Jamfile.v2
+++ boost_1_58_0/libs/math/build/Jamfile.v2
@@ -4,23 +4,17 @@
# http://www.boost.org/LICENSE_1_0.txt.
import testing ;
-import pch ;
project
: requirements
<toolset>intel-win:<cxxflags>-nologo
<toolset>intel-win:<linkflags>-nologo
- #<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:<cxxflags>-fvisibility=hidden
<toolset>intel-linux:<cxxflags>-fvisibility=hidden
<toolset>sun:<cxxflags>-xldscope=hidden
[ check-target-builds ../config//has_gcc_visibility "gcc visibility" : <toolset>gcc:<cxxflags>-fvisibility=hidden : ]
;
-cpp-pch pch : ../src/tr1/pch.hpp : <include>../src/tr1 <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1 ;
C99_SOURCES = acosh
asinh
@@ -80,19 +74,19 @@ obj long_double_check : ../config/has_lo
explicit long_double_check ;
# Library targets
-lib boost_math_tr1 : ../src/tr1/$(TR1_SOURCES).cpp pch
+lib boost_math_tr1 : ../src/tr1/$(TR1_SOURCES).cpp
:
<link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
<include>../src/tr1
;
-lib boost_math_tr1f : ../src/tr1/$(TR1_SOURCES)f.cpp pch
+lib boost_math_tr1f : ../src/tr1/$(TR1_SOURCES)f.cpp
:
<link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
<include>../src/tr1
;
-lib boost_math_tr1l : ../src/tr1/$(TR1_SOURCES)l.cpp pch
+lib boost_math_tr1l : ../src/tr1/$(TR1_SOURCES)l.cpp
:
<link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
<dependency>../config//has_long_double_support
@@ -100,19 +94,19 @@ lib boost_math_tr1l : ../src/tr1/$(TR1_S
[ check-target-builds ../config//has_long_double_support "long double support" : : <build>no ]
;
-lib boost_math_c99 : ../src/tr1/$(C99_SOURCES).cpp pch
+lib boost_math_c99 : ../src/tr1/$(C99_SOURCES).cpp
:
<link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
<include>../src/tr1
;
-lib boost_math_c99f : ../src/tr1/$(C99_SOURCES)f.cpp pch
+lib boost_math_c99f : ../src/tr1/$(C99_SOURCES)f.cpp
:
<link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
<include>../src/tr1
;
-lib boost_math_c99l : ../src/tr1/$(C99_SOURCES)l.cpp pch
+lib boost_math_c99l : ../src/tr1/$(C99_SOURCES)l.cpp
:
<link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
<dependency>../config//has_long_double_support