Hi,

Since I'm planning to use binary packages from x86-64-v3, I presume this should be changed to:

     COMMON_FLAGS="-march=x86-64-v3 -O2 -pipe"

or, perhaps:

     COMMON_FLAGS="-march=x86-64-v3 -mtune=znver4 -O2 -pipe" ?

You want to match the binhost flags:

https://wiki.gentoo.org/wiki/Gentoo_Binary_Host_Quickstart#x86-64-v3_variant


I also have a hefty $CPU_FLA
GS_X86 (also added to $USE) from "cpuid2cpuflags" but am not worried about this as packages that don't fit will simply be built from source as usual.

You could also match with the flags the binhost has if you want to avoid
compilation altogether. See above.

1) What would be the preferred CFLAGS configuration

See above.

2) To reinstall the current source based packages with their binary equivalent, "--rebuilt-binaries" sufficient or should I just go for "-- emptytree @world"?


If you're currently using x86-64-v4 there's no benefit to replacing the
existing packages. Just let them age out and be replaced over time as
as new versions are released.

Cheers,

Matt

Reply via email to