Remove -O2 and replace -g with -g3 if building from git or configured with --enable...