--- tools/build/v2/tools/builtin.jam +++ tools/build/v2/tools/builtin.jam @@ -91,7 +91,7 @@ feature runtime-debugging : on off : propagated ; -feature optimization : off speed space : propagated ; +feature optimization : off speed space rpm : propagated ; feature profiling : off on : propagated ; feature inlining : off on full : propagated ; @@ -102,7 +102,7 @@ feature asynch-exceptions : off on : propagated ; # Whether all extern "C" functions are considered nothrow by default feature extern-c-nothrow : off on : propagated ; -feature debug-symbols : on off : propagated ; +feature debug-symbols : on off rpm : propagated ; feature define : : free ; feature undef : : free ; feature "include" : : free path ; #order-sensitive ; @@ -327,6 +327,7 @@ variant release : speed off full off NDEBUG ; variant profile : release : on on ; +variant rpm : rpm rpm full off ; class searched-lib-target : abstract-file-target { --- tools/build/v2/tools/gcc.jam +++ tools/build/v2/tools/gcc.jam @@ -270,6 +270,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 ;