Subject: hard-coded -O3 in audio/flac (and probably elsewhere)
To: None <tech-pkg@netbsd.org>
From: Georg Schwarz <geos@epost.de>
List: tech-pkg
Date: 01/24/2004 00:03:39
Hi,

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 ./configure.in ./build/exe.mk ./build/lib.mk
./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 

-- 
Georg Schwarz    http://home.pages.de/~schwarz/
 geos@epost.de     +49 177 8811442