After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 365029 - gamin adds -O2 to CFLAGS, which sun's cc doens't like
gamin adds -O2 to CFLAGS, which sun's cc doens't like
Status: RESOLVED FIXED
Product: gamin
Classification: Other
Component: general
unspecified
Other opensolaris
: Normal normal
: ---
Assigned To: Gamin Maintainer(s)
Gamin Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2006-10-25 15:49 UTC by James Andrewartha
Modified: 2006-10-25 16:14 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
patch to only add -O2 to CFLAGS when using gcc (662 bytes, patch)
2006-10-25 15:50 UTC, James Andrewartha
none Details | Review

Description James Andrewartha 2006-10-25 15:49:25 UTC
gamin's configure.in adds -O2 to CFLAGS if $debug is off. Sun's c compiler doesn't like this. There's already a test for gcc for -g, so I've extended it to the -O2 case as well.
Comment 1 James Andrewartha 2006-10-25 15:50:23 UTC
Created attachment 75380 [details] [review]
patch to only add -O2 to CFLAGS when using gcc
Comment 2 Daniel Veillard 2006-10-25 16:14:02 UTC
Okay, makes sense, applied and commited to CVS,

  thanks !

Daniel