Then you should remove the default -O2, -g, -DNDEBUG, -fno-math-errno, -ltcmalloc_minimal and all optimisation...