[ scummvm-Patches-1511980 ] Patch for correct optimizations with GCC 2.95.3

SourceForge.net noreply at sourceforge.net
Sun Jun 25 03:13:08 CEST 2006


Patches item #1511980, was opened at 2006-06-24 21:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1511980&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: KeithS (keithscr)
Assigned to: Nobody/Anonymous (nobody)
Summary: Patch for correct optimizations with GCC 2.95.3

Initial Comment:
GCC 2.95.3 will always use the last -O parameter
passed.  Currently, when one runs configure with
--enable-release, -O2 is added to CXXFLAGS, but that
CXXFLAGS precedes the one in Makefile that explicitly
definies -O, so the -O overides the -O2.  Might be a
better way to do this.  I removed the -O from the
makefile, and just incorporated them into configure. 
-g -O for debug, -O for --disable-debug, and -O2 for
--enabele-release (as it should be.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1511980&group_id=37116




More information about the Scummvm-tracker mailing list