--- tools/build/v2/tools/builtin.jam +++ tools/build/v2/tools/builtin.jam @@ -83,17 +83,17 @@ feature.set-default target-os : [ default-host-os ] ; -feature.feature toolset : : implicit propagated symmetric ; -feature.feature stdlib : native : propagated composite ; -feature.feature link : shared static : propagated ; -feature.feature runtime-link : shared static : propagated ; -feature.feature runtime-debugging : on off : propagated ; -feature.feature optimization : off speed space : propagated ; -feature.feature profiling : off on : propagated ; -feature.feature inlining : off on full : propagated ; -feature.feature threading : single multi : propagated ; -feature.feature rtti : on off : propagated ; -feature.feature exception-handling : on off : propagated ; +feature.feature toolset : : implicit propagated symmetric ; +feature.feature stdlib : native : propagated composite ; +feature.feature link : shared static : propagated ; +feature.feature runtime-link : shared static : propagated ; +feature.feature runtime-debugging : on off : propagated ; +feature.feature optimization : off speed space rpm : propagated ; +feature.feature profiling : off on : propagated ; +feature.feature inlining : off on full : propagated ; +feature.feature threading : single multi : propagated ; +feature.feature rtti : on off : propagated ; +feature.feature exception-handling : on off : propagated ; # Whether there is support for asynchronous EH (e.g. catching SEGVs). feature.feature asynch-exceptions : off on : propagated ; @@ -101,7 +101,7 @@ # Whether all extern "C" functions are considered nothrow by default. feature.feature extern-c-nothrow : off on : propagated ; -feature.feature debug-symbols : on off : propagated ; +feature.feature debug-symbols : on off rpm : propagated ; feature.feature define : : free ; feature.feature undef : : free ; feature.feature "include" : : free path ; #order-sensitive ; @@ -339,7 +339,7 @@ variant debug : off on off on ; -variant release : speed off full +variant release : rpm rpm full off NDEBUG ; variant profile : release : on on ; --- tools/build/v2/tools/gcc.jam +++ tools/build/v2/tools/gcc.jam @@ -290,6 +290,7 @@ flags gcc.compile OPTIONS off : -O0 ; flags gcc.compile OPTIONS speed : -O3 ; flags gcc.compile OPTIONS space : -Os ; +flags gcc.compile OPTIONS rpm : "$RPM_OPT_FLAGS" ; flags gcc.compile OPTIONS off : -fno-inline ; flags gcc.compile OPTIONS on : -Wno-inline ;