On Sat, 28 Aug 2010 14:47:35 +0200, Rémy Oudompheng <remyoudompheng@gmail.com> wrote:
Ng Oon-Ee <ngoonee@gmail.com> wrote:
I'm just thinking there's a reason zlib is supposed to be compiled without optimizations (as shown in the current PKGBUILD), just that the line shown doesn't work as intended =)
I'd rather think that zlib, had a real benefit from being compiled with -O3, and since it is widely used, maybe preformance was important. The thing is, I don't think people have reported problems with zlib in regular packages, so the most natural thing to do is ship a compatible zlib with OpenSong, unless we prove there is a bug in gcc or zlib.
First of all compiling zlib with the -O3 flag was intended and afaik I did this because it is the upstream default. Debian builds zlib with "-Wall -g -D_REENTRANT -O3" -- Pierre Schmitz, https://users.archlinux.de/~pierre