title: qmake adds '-g' flag to compile under redhat 6
body: <p>I have a bash script which compiles my program with or without symbols based on a flag.  It first makes the makefile with one of these commands</p>
  
  <pre><code>$QMAKE -makefile CONFIG-=release CONFIG+=debug $BASEDIR/project/myproj.pro
  $QMAKE -makefile CONFIG-=debug CONFIG+=release $BASEDIR/project/myproj.pro
  </code></pre>
  
  <p>This works fine under Fedora, but under redhat 6 I notice the makefile always has the -g parameter added as a compiler option.  (regarless of which of the above commands I issue).  Under RH6 the latter line produces:</p>
  
  <pre><code>CFLAGS        = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -fPIE $(DEFINES)
  </code></pre>
  
  <p>while under Fedora 20 is produces:</p>
  
  <pre><code>CFLAGS        = -pipe -O2 -Wall -W -D_REENTRANT -fPIE $(DEFINES)
  </code></pre>
  
  <p>Can someone explain why qmake produces different Makefiles under the 2 versions of linux, and how to fix this?  (so that the latter command does not add the -g parameter for the compiler)</p>