[Bioc-devel] package c++ optimization flag
Håkon Tjeldnes
h@uken_heyken @ending from hotm@il@com
Wed Sep 19 11:11:58 CEST 2018
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 ?
[[alternative HTML version deleted]]
More information about the Bioc-devel
mailing list