diff options
author | Ulrich Müller <ulm@gentoo.org> | 2024-04-27 07:07:45 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2024-04-27 07:11:00 +0200 |
commit | 6042d9fb515ff7e2ae89918c8ea1b33f495c382a (patch) | |
tree | 12caaff333688a62eb02ab4208ffa123afc48b51 /app-editors | |
parent | www-apps/icingadb-web: Stabilize 1.1.1 amd64, #930716 (diff) | |
download | gentoo-6042d9fb515ff7e2ae89918c8ea1b33f495c382a.tar.gz gentoo-6042d9fb515ff7e2ae89918c8ea1b33f495c382a.tar.bz2 gentoo-6042d9fb515ff7e2ae89918c8ea1b33f495c382a.zip |
app-editors/emacs: Remove -flto from CFLAGS
Suggested-by: Sam James <sam@gentoo.org>
Closes: https://bugs.gentoo.org/924338
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/emacs/emacs-18.59-r15.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app-editors/emacs/emacs-18.59-r15.ebuild b/app-editors/emacs/emacs-18.59-r15.ebuild index 466b031d91a4..87944772b4c2 100644 --- a/app-editors/emacs/emacs-18.59-r15.ebuild +++ b/app-editors/emacs/emacs-18.59-r15.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 @@ -73,12 +73,13 @@ src_configure() { -e "s:-lncurses:$("$(tc-getPKG_CONFIG)" --libs ncurses):" \ src/s-linux.h || die - # -O3 and -finline-functions cause segmentation faults at run time. + # -O3 and -finline-functions cause segmentation faults at run time; + # -flto causes a segmentation fault at compile time. # -Wno-implicit, -Wno-return-type and -Wno-return-mismatch will # quieten newer versions of GCC; feel free to submit a patch adding # all those missing prototypes. strip-flags - filter-flags -finline-functions -fpie + filter-flags -finline-functions -fpie -flto append-flags -fno-strict-aliasing -Wno-implicit -Wno-return-type \ -Wno-return-mismatch append-ldflags $(test-flags -no-pie) #639562 |