when I compile my project as debug, it usually works , but when I try to build in release the following message appears on the compile Output:
cc1plus : error: argument to ' O ' should be a non-negative integer, 'g' , 's' or 'fast' make: *** [ main.o ] Error 1 ... : The process " / usr / bin / make " exited with code 2 .
Error while building/deploying project 'project_name' (kit: Desktop Qt 5.4.0 GCC 64bit) When executing step "Make"
Anyone know the reason?
CXXFLAGS
is set to in yourMakefile
? – svlasov