[QScintilla] Makefile issues

ken gebser at mousecar.com
Sat Jan 16 19:36:29 GMT 2016


Looking at the Makefile (resulting from "qmake-qt4 qscintilla.pro"), I 
found:

CFLAGS        = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches 
-m64 -mtune=generic -O2 -D_REENTRANT -w -fPIC $(DEFINES)
CXXFLAGS      = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches 
-m64 -mtune=generic -O2 -D_REENTRANT -w -fPIC $(DEFINES)

(That's just two lines, screw-wrapped by my emailer.)  Since I've got a 
better than a generic cpu, an i7-6700HQ, and I'd like to take advantage 
of the extra niceties of the more powerful cpu.  I'm not compiling this 
for distribution, so is there any reason not to change "-mtune=generic" 
in the two lines above to "-mtune=native"?  (The latter is what "man 
gcc" actually recommends.)



Also in the Makefile is

QMAKE         = /bin/qmake-qt4

This should be "/usr/bin/qmake-qt4".  There's nothing at 
"/bin/qmake-qt4".  Or is that for some reason intentional?


Thanks much for all wise replies.



More information about the QScintilla mailing list