There are no such thing...
There are no such thing...
Posted Nov 16, 2011 19:32 UTC (Wed) by tetromino (subscriber, #33846)In reply to: There are no such thing... by endecotp
Parent article: Open64 5.0 released
> Maybe you're right and (almost) everyone uses -O2 - but I would like to know where that info comes from.
Take a look at *any* distribution's default optimization flags. For rpm-based distros, the default /usr/lib/rpm/rpmrc says 'optflags: amd64 -O2 -g'. In Debian, dpkg-buildflags returns 'CFLAGS=-g -O2' by default. Even in Gentoo, /usr/portage/profiles/arch/amd64/make.defaults says 'CFLAGS="-O2 -pipe"'.
