boost/boost-rpmoptflags-only.patch
Dirk Mueller 1abb2a6951 - update to 1.80.0:
* no new libraries
  * for details on all the long list of changes, see
    https://www.boost.org/users/history/version_1_80_0.html
- drop 0001-json-array-erase-relocate.patch
  boost-mp-locale-fix.patch: upstream

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=303
2022-08-17 21:07:45 +00:00

32 lines
1.5 KiB
Diff

Index: tools/build/src/tools/gcc.jam
===================================================================
--- tools/build/src/tools/gcc.jam.orig
+++ tools/build/src/tools/gcc.jam
@@ -623,17 +623,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 <optimization>minimal : -O1 ;
-toolset.flags gcc.compile OPTIONS <optimization>debug : -Og ;
+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 <optimization>minimal : ;
+toolset.flags gcc.compile OPTIONS <optimization>debug : ;
-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 <inlining>off : ;
+toolset.flags gcc.compile OPTIONS <inlining>on : ;
+toolset.flags gcc.compile OPTIONS <inlining>full : ;
-toolset.flags gcc.compile OPTIONS <warnings>off : -w ;
+toolset.flags gcc.compile OPTIONS <warnings>off : ;
toolset.flags gcc.compile OPTIONS <warnings>on : -Wall ;
toolset.flags gcc.compile OPTIONS <warnings>all : -Wall ;
toolset.flags gcc.compile OPTIONS <warnings>extra : -Wall -Wextra ;