...resulting in boost built with "-O0 -O3 -Os" CFLAGS No, it doesn't get printed in the log, but the change in compilation time is VERY noticeable (if you go down to just -O2). First correction, then explanation: right now: sed -i \ -e 's/\(off speed space\)/\1 none/' \ -e 's/\(debug-symbols : on off\)/\1 none/' \ tools/builtin.jam || die "sed failed" after correction: sed -i \ -e 's/\(off speed space\)/none \1/' \ -e 's/debug-symbols : on off/debug-symbols : none on off/' \ tools/builtin.jam || die "sed failed" Now, why ? Answer lies in the same lines: at the end there a single word that explains it - 'propagated'. if 'none' is at the end it's equal to (off+on+space)==(-O0 -O3 -Os)
I'm sorry, but I can't reproduce that with boost-1.50.0 (anymore): the following is from the `ps aux`: [...] 101 181342 0.0 0.0 12588 1456 pts/10 S 14:00 0:00 | \_ /usr/x86_64-pc-linux-gnu/gcc-bin/4.7.1/x86_64-pc-linux-gnu-g++ -ftemplate-depth-128 -mtune=native -O2 -pipe -finline-functions -Wno-inline -Wall -pedantic -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_HAS_ICU=1 -DBOOST_REGEX_DYN_LINK=1 -DNDEBUG -I. -I/usr/include -c -o bin.v2/libs/regex/build/gcc-4.7/gentoorelease/pch-off/wc_regex_traits.o libs/regex/build/../src/wc_regex_traits.cpp [...] soo, no flags other than the ones I have here.