Jump to content
funtoo forums

How to update world with new CFLAGS: -O3 ?

Recommended Posts

I use Funtoo for browsing the web. I compiled all my world with CFLAGS -O2. I changed it to -O3 to try how it will work. I typed world update


# cat /etc/portage/make.conf
L10N="en-US ru-RU"

CFLAGS="-march=native -O3 -pipe"

CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"


USE="alsa bmp dbus 
     core-kit flv
     jpeg mp3 
     udev policykit
     rar tiff
     X zlib
     -gtk -gtk2 -gtk3 
     -kde -minimal
     -qt3 -qt4 -qt5

# emerge -e world


It started to compile 1038 packages and it had finished 600 of them when I reboot. Now I want it continues to compile the rest.

How to do it?

How to compile packages that were compiled with -O2 flag instead of current -O3 as file /etc/portage/make.conf is containing now?

Share this post

Link to post
Share on other sites

and if you want portage to keep building, even if something failed in-between, then add --keep-going, it will will skip all failures and continue. That's, of course, if failed ebuild not used by other ebuilds further down in list, then the merge will stop.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now