When I put this line in makevars:
PKG_CXXFLAGS = -O3
This is the output of the cpp precompiler:
-O3 -fpic -g -O2
I read the cpp doc, and it states:
"If you use multiple -O options, with or without level numbers, the last such option is the one that is effective."
Since, system wide R optimization -O2 always comes last, how can I make my package overwrite the system wide optimization ?
And should I do this at all, since debugging could get more difficult ?