Bo Peng wrote:
One bug though: When I pass CCFLAGS="-O3 -w" to scons, I see that the
options is just appended to the default options (-O2 -Wall), ex:
g++ -o release\common\frontends\qt3\QCommandBuffer.o -c -O3 -w -Wall -O2
What exactly do you mean? Do you want me to remove -O2 if -O3 is
passed? This sounds difficult.
I don't care much about -O3 versus -O2 but I care about -Wall because it
produce a hell lot of warning. It is not very important as, the way it
is now, the two first options take precedence over the "-Wall -O2". But
it is a bit ugly...
What about if I want to add profiling support (-pg option)?
Abdel.