The commit https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=3f1be2af12937c77c962bb864a8254ffebedc15b automatically adds CPU_FLAGS from cpuid2cpuflags to all packages. This breaks the "build for one uArch, deploy for another uArch" scenario which we were using prefix for. It's also at odds with the "keep it fairly reasonable (no -march or whatever)" comment in the `configure_cflags` function. Perhaps this should be opt-in via the interactive prompt and/or an env var?
Yeah, I might have gone overboard with this one. (In reality I found there's little to no packages using these flags anyway.)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=caac940fe3594a7f48900de9a2aca0dbf21bc798 commit caac940fe3594a7f48900de9a2aca0dbf21bc798 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2024-09-05 11:46:25 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2024-09-05 11:46:25 +0000 scripts/bootstrap-prefix: remove automatic CPU_FLAGS_* setting It doesn't do much, and turns the Prefix from generic to specific to the running machine, which is an undesirable side-effect. Closes: https://bugs.gentoo.org/939038 Signed-off-by: Fabian Groffen <grobian@gentoo.org> scripts/bootstrap-prefix.sh | 41 ----------------------------------------- 1 file changed, 41 deletions(-)