Subject: hard-coded -O3 in audio/flac (and probably elsewhere)
To: None <>
From: Georg Schwarz <>
List: tech-pkg
Date: 01/24/2004 00:03:39

audio/flac uses -O3 hard coded at a number of places (find . -type f
-print | xargs grep "\-O3" | awk -F: '{print $1}' | uniq | xargs yields
./configure ./ ./build/ ./build/
./flac.pbproj/project.pbxproj). This makes it fail with IRIX's cc, and
more generally, I think it should rather be set according to the pkgsrc
settings (which is being done *in addition*, but -O3 seems to win over
the other less aggressive -O2 settings).
Ultimately the package still does not compile on IRIX 5.3 so far,
because it assumes having snprintf (any idea for a fix to this?); still
I suggest considering to simply remove (probably patch away) the
hard-coded -O3's by pkgsrc.
What's the opinion on that issue?


Georg Schwarz     +49 177 8811442