summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-03-24 14:31:03 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-03-24 14:37:35 -0400
commit5f02566649d4a1e6dc602102add6cc2fccc52c4d (patch)
treee9b0194df529db23ce5b3cceaea32bc0d0c1acb1 /app-emacs
parentapp-emulation/wine-staging: filter -Wl,-z,* ... for CFLAGS (diff)
downloadgentoo-5f02566649d4a1e6dc602102add6cc2fccc52c4d.tar.gz
gentoo-5f02566649d4a1e6dc602102add6cc2fccc52c4d.tar.bz2
gentoo-5f02566649d4a1e6dc602102add6cc2fccc52c4d.zip
app-emulation/wine-proton: filter -Wl,-z,* ... for CFLAGS
test-flags-CC was not meant to test LDFLAGS and -Wl,* are no-ops at compile-time and thus don't get stripped even if they don't work (same happens when using strip-unsupported-flags) and then if a package compiles and links anything at same time it fails. This used not to be a big problem but now that 23.0 profiles do -Wl,-z,pack-relative-relocs (mingw ld has no -z) this is hitting bashrc-mv users that tend to do CFLAGS="${LDFLAGS}" by default. Tempting to ignore it because of how wrong it is, but well. An alternate route could be to eventually have strip-flags and/or strip-unsupported-flags remove -Wl,* from non-LDFLAGS given this could affect more than mingw (e.g. switching to bfd when there is a lld-only option). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-emacs')
0 files changed, 0 insertions, 0 deletions