diff options
author | Sam James <sam@gentoo.org> | 2024-01-20 10:41:45 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-01-20 10:42:05 +0000 |
commit | 9f793037e9cdc6a6ff36b1e5a042bbdf92fb560a (patch) | |
tree | a4de905e63a703912d20c4e86193db278fb00132 /dev-lang/swi-prolog | |
parent | profiles: Switch prefix/linux/arm to hardfloat (diff) | |
download | gentoo-9f793037e9cdc6a6ff36b1e5a042bbdf92fb560a.tar.gz gentoo-9f793037e9cdc6a6ff36b1e5a042bbdf92fb560a.tar.bz2 gentoo-9f793037e9cdc6a6ff36b1e5a042bbdf92fb560a.zip |
dev-lang/swi-prolog: filter LTO
ICEs with GCC but it's also filled with UB (see the linked GCC bug).
Bug: https://gcc.gnu.org/PR113521
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/swi-prolog')
-rw-r--r-- | dev-lang/swi-prolog/swi-prolog-9.1.2-r1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-lang/swi-prolog/swi-prolog-9.1.2-r1.ebuild b/dev-lang/swi-prolog/swi-prolog-9.1.2-r1.ebuild index 7cee8edc9d51..a776f624d4cb 100644 --- a/dev-lang/swi-prolog/swi-prolog-9.1.2-r1.ebuild +++ b/dev-lang/swi-prolog/swi-prolog-9.1.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -106,6 +106,8 @@ src_prepare() { } src_configure() { + # Lots of UB, see https://gcc.gnu.org/PR113521 + filter-lto append-flags -fno-strict-aliasing use debug && append-flags -DO_DEBUG |