GNOME Bugzilla – Bug 365029
gamin adds -O2 to CFLAGS, which sun's cc doens't like
Last modified: 2006-10-25 16:14:02 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.
Created attachment 75380 [details] [review] patch to only add -O2 to CFLAGS when using gcc
Okay, makes sense, applied and commited to CVS, thanks ! Daniel