On Fri, 2011-07-15 at 21:27 -0700, John Wojnaroski wrote: > Hi Curt, > > Silly question, if you have a moment... > > Want to change the compiler option. Tried ./configure CFLAGS=-O3 but > seemed to have no effect > > if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src > -I/usr/local/include -g -O2 -D_REENTRANT -MT air > > something stepping on the configure option??
CFLAGS is for the C compiler while FlightGear almost exclusively uses the C++ compiler: Try runining: ./configure CXXLAGS=-O3 CFLAGS=$CXXFLAGS By the way, I'm using: CXXFLAGS="-g -Os -Wall -Werror=format-security -march=native -mtune=native" Erik ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel