2017-12-19 08:08:50 +01:00
|
|
|
Index: tools/build/src/tools/gcc.jam
|
|
|
|
===================================================================
|
|
|
|
--- tools/build/src/tools/gcc.jam.orig
|
|
|
|
+++ tools/build/src/tools/gcc.jam
|
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 11:07:49 +02:00
|
|
|
@@ -603,7 +603,7 @@ rule compile.fortran ( targets * : sourc
|
|
|
|
|
|
|
|
actions compile.c++ bind PCH_FILE
|
|
|
|
{
|
|
|
|
- "$(CONFIG_COMMAND)" $(LANG) -ftemplate-depth-$(TEMPLATE_DEPTH) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" -c -o "$(<:W)" "$(>:W)"
|
|
|
|
+ "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" -c -o "$(<:W)" "$(>:W)"
|
|
|
|
}
|
|
|
|
|
|
|
|
actions compile.c bind PCH_FILE
|
|
|
|
@@ -613,7 +613,7 @@ actions compile.c bind PCH_FILE
|
|
|
|
|
|
|
|
actions compile.c++.preprocess bind PCH_FILE
|
|
|
|
{
|
|
|
|
- "$(CONFIG_COMMAND)" $(LANG) -ftemplate-depth-$(TEMPLATE_DEPTH) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" "$(>:W)" -E >"$(<:W)"
|
|
|
|
+ "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" "$(>:W)" -E >"$(<:W)"
|
|
|
|
}
|
|
|
|
|
|
|
|
actions compile.c.preprocess bind PCH_FILE
|
2017-12-19 08:08:50 +01:00
|
|
|
@@ -755,17 +755,17 @@ actions compile.c.pch
|
|
|
|
###
|
|
|
|
|
|
|
|
# Declare flags and action for compilation.
|
|
|
|
-toolset.flags gcc.compile OPTIONS <optimization>off : -O0 ;
|
|
|
|
-toolset.flags gcc.compile OPTIONS <optimization>speed : -O3 ;
|
|
|
|
-toolset.flags gcc.compile OPTIONS <optimization>space : -Os ;
|
|
|
|
-
|
|
|
|
-toolset.flags gcc.compile OPTIONS <inlining>off : -fno-inline ;
|
|
|
|
-toolset.flags gcc.compile OPTIONS <inlining>on : -Wno-inline ;
|
|
|
|
-toolset.flags gcc.compile OPTIONS <inlining>full : -finline-functions -Wno-inline ;
|
|
|
|
-
|
|
|
|
-toolset.flags gcc.compile OPTIONS <warnings>off : -w ;
|
|
|
|
-toolset.flags gcc.compile OPTIONS <warnings>on : -Wall ;
|
|
|
|
-toolset.flags gcc.compile OPTIONS <warnings>all : -Wall -pedantic ;
|
|
|
|
+toolset.flags gcc.compile OPTIONS <optimization>off : ;
|
|
|
|
+toolset.flags gcc.compile OPTIONS <optimization>speed : ;
|
|
|
|
+toolset.flags gcc.compile OPTIONS <optimization>space : ;
|
|
|
|
+
|
|
|
|
+toolset.flags gcc.compile OPTIONS <inlining>off : ;
|
|
|
|
+toolset.flags gcc.compile OPTIONS <inlining>on : ;
|
|
|
|
+toolset.flags gcc.compile OPTIONS <inlining>full : ;
|
|
|
|
+
|
|
|
|
+toolset.flags gcc.compile OPTIONS <warnings>off : ;
|
|
|
|
+toolset.flags gcc.compile OPTIONS <warnings>on : ;
|
|
|
|
+toolset.flags gcc.compile OPTIONS <warnings>all : ;
|
|
|
|
toolset.flags gcc.compile OPTIONS <warnings-as-errors>on : -Werror ;
|
|
|
|
|
|
|
|
toolset.flags gcc.compile OPTIONS <debug-symbols>on : -g ;
|