Hi everyone,
Keeping with the previous post, i’m announcing the following changes for ARM stage3s.
The optimization flag on the default CFLAGS/CXXFLAGS will be changed from -Os to -O2 as of this month stage3.
This is a change we’re doing so we don’t hit bugs undiscovered until we hit them like bug 331641 which only ocurred when using -Os and was reported by Gentoo users. Also that way we use the same optimization flag used on the rest of the arches and distributions.
If you still want to use -Os you’re free to do so, like whatever CFLAGS you want to use.
March 8, 2012 at 02:03 |
Sorry to dig up an old topic, but gentoo isn’t allowing me to change CFLAGS on my armv5tel machine. I have this in my make.conf and have run env-update:
spad ~ # grep ^CFLAG /etc/make.conf
CFLAGS=”-Os -march=armv5te -fomit-frame-pointer”
spad ~ #
But everything I’ve compiled so far is using “-O2 -pipe -march=armv5te” for CFLAGS. What gives?