diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-10 00:44:50 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-10 00:44:50 +0000 |
commit | 013635213f8032704e1ec9ae01e9303e63a2efbb (patch) | |
tree | 42236ee53a80ec503e22c05573c07f3419a97aac /sys-devel/binutils | |
parent | dc41efad78c64df9b74ed6f94dcf25391b8fc5e1 (diff) |
gentoo auto-resync : 10:03:2024 - 00:44:50
Diffstat (limited to 'sys-devel/binutils')
-rw-r--r-- | sys-devel/binutils/Manifest | 2 | ||||
-rw-r--r-- | sys-devel/binutils/binutils-2.42-r1.ebuild | 32 |
2 files changed, 29 insertions, 5 deletions
diff --git a/sys-devel/binutils/Manifest b/sys-devel/binutils/Manifest index 712cf83f152b..42f9ee172f0d 100644 --- a/sys-devel/binutils/Manifest +++ b/sys-devel/binutils/Manifest @@ -43,6 +43,6 @@ EBUILD binutils-2.41-r2.ebuild 14907 BLAKE2B 5ba2dbed0d9731161f1094d27dd5e2f9309 EBUILD binutils-2.41-r3.ebuild 14907 BLAKE2B 79adbbdbcbc09e230660824b8a856edff4f70662d655bd04f4ebc07895e23dd6e0f01af6582c4206d408903595689fb8bfdfeaabcf4a0a55280499e44aecf929 SHA512 f033b524fca2329f1bbbba45a70def02a40dbfa9ac2657b75a6f1e668867ecf5cf02f5958e5ae0811c26c222614a9dbf34163e7a496b284103672fb13e9a3afe EBUILD binutils-2.41-r4.ebuild 15103 BLAKE2B 88ec8426b6ccf6c0c84e732a7dd0a5f480e5663334c423b6216cd5239ce8eede5a7161ad7d933674d39ffe385c5ae6cb1c30c6579cf2b5f76cecfabfca9f2b26 SHA512 8e6b5e47388a20709b06ef97d4b7fb4c19405c2d8aba4a97df30a312f617f3af6d42274ad8bc1b32f2903784a2ccb64747b14513d8304810957729da94b396db EBUILD binutils-2.41-r5.ebuild 15095 BLAKE2B 42661f54de036887565ff3d6aeb00ca902d407fc7ba4a356a069e9c0fd34196b52d46c5bff19d000deab025fd38ebb6a8f49373b254db12a5420e4e9f4058688 SHA512 98fbe626a4533807206206bbe97012bdc8460f45c73b03895df37e649e517352ce87b43019e6926269397b64a24471f13cf98ddd03b3879f3195205ffec52924 -EBUILD binutils-2.42-r1.ebuild 15236 BLAKE2B 003aa7bbb0907693dba6476d00bca675aab275dbbc40f0293af6c93ed3006e42071168fb4952451adec3d46cadb258256b8dbde85e40ed798bb0f9266dac0234 SHA512 053b5690f37154f0eeebfdb7ce1b47a6cf8a19883f711840eefed0fa5bdaa018437657fe26296b23383cd35dfb9a21470654a055ba22a67825398757e8fb653a +EBUILD binutils-2.42-r1.ebuild 15970 BLAKE2B f9e7055deb14972b3e638a68eb7e210186e593f95b248b7fb84851a933fb858649ac9fe669e33f824a94fec10bf610c4096991edde6731ea692aadd8ba5d664e SHA512 facf21059ee3c9b73551ff6efb52aaca28e13d0e1df5630af379229806fb0b15874851fbfb6721823268d8f6308fc81ccd875a56e88cb12b28bf06638b5b4148 EBUILD binutils-9999.ebuild 15971 BLAKE2B 55bbf20550b801e5dfe557ea74b575dece0efdb785b864024437f31e76b525a06699c48eb69a54d943243d804bf2440bbcc0713a46cad94d9b5d99ec10bd0f45 SHA512 9077a5d687558243b786dae8033ffb93d9ddf20e1416892f24eef5b30e08bc46de074e9171ef8b0886e49f604808241de5dd5c40740e64c63ab7b7d2198030f1 MISC metadata.xml 995 BLAKE2B 85ccdd924f8c459a4cd7e608dff59c7281523da0d9457b0094b97e140cd07a300cb38383d9402808859100ca0bf219ce86e367bb5282216121bd81f68d588c17 SHA512 3ee538640e5d8c0efe6b8cf1de299e0d78965dece1ad814384844e8e24db72b11ca30d5fb68dfae2e71046d35aee0e71ee3ecbda3730ca49446dd0b2cd0f817c diff --git a/sys-devel/binutils/binutils-2.42-r1.ebuild b/sys-devel/binutils/binutils-2.42-r1.ebuild index 247aaaa1fa03..a7bca7df85af 100644 --- a/sys-devel/binutils/binutils-2.42-r1.ebuild +++ b/sys-devel/binutils/binutils-2.42-r1.ebuild @@ -333,10 +333,20 @@ src_configure() { ) fi + if use test || { use pgo && tc-is-lto ; } ; then + # -Wa,* needs to be consistent everywhere or lto-wrapper will complain + filter-flags '-Wa,*' + fi + if ! is_cross ; then - myconf+=( $(use_enable pgo pgo-build lto) ) + myconf+=( $(use_enable pgo pgo-build $(tc-is-lto && echo "lto" || echo "yes")) ) if use pgo ; then + # We let configure handle it for us because it has to run + # the testsuite later on for profiling, and LTO isn't compatible + # with the testsuite. + filter-lto + export BUILD_CFLAGS="${CFLAGS}" fi fi @@ -378,10 +388,24 @@ src_test() { local -x XZ_OPT="-T1" local -x XZ_DEFAULTS="-T1" - # bug #637066 - filter-flags -Wall -Wreturn-type + ( + # Tests don't expect LTO + filter-lto - emake -k check + # lto-wrapper warnings which confuse tests + filter-flags '-Wa,*' + + # bug #637066 + filter-flags -Wall -Wreturn-type + + emake -k check \ + CFLAGS_FOR_TARGET="${CFLAGS_FOR_TARGET:-${CFLAGS}}" \ + CXXFLAGS_FOR_TARGET="${CXXFLAGS_FOR_TARGET:-${CXXFLAGS}}" \ + LDFLAGS_FOR_TARGET="${LDFLAGS_FOR_TARGET:-${LDFLAGS}}" \ + CFLAGS="${CFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" \ + LDFLAGS="${LDFLAGS}" + ) } src_install() { |