summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2024-11-20 13:51:06 +0100
committerUlrich Müller <ulm@gentoo.org>2024-11-20 14:06:07 +0100
commit95cab08d8d82cee10dd98356274d56bd852a8675 (patch)
tree95619263471386850ad9899bf99bf98cf970cc95 /app-editors
parentapp-editors/emacs: drop 29.3-r3 (diff)
downloadgentoo-95cab08d8d82cee10dd98356274d56bd852a8675.tar.gz
gentoo-95cab08d8d82cee10dd98356274d56bd852a8675.tar.bz2
gentoo-95cab08d8d82cee10dd98356274d56bd852a8675.zip
app-editors/emacs: Compile with gnu17 standard
Closes: https://bugs.gentoo.org/944102 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/emacs/emacs-18.59-r15.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-editors/emacs/emacs-18.59-r15.ebuild b/app-editors/emacs/emacs-18.59-r15.ebuild
index 87944772b4c2..7e73a99d9984 100644
--- a/app-editors/emacs/emacs-18.59-r15.ebuild
+++ b/app-editors/emacs/emacs-18.59-r15.ebuild
@@ -80,8 +80,8 @@ src_configure() {
# all those missing prototypes.
strip-flags
filter-flags -finline-functions -fpie -flto
- append-flags -fno-strict-aliasing -Wno-implicit -Wno-return-type \
- -Wno-return-mismatch
+ append-flags -std=gnu17 -fno-strict-aliasing -Wno-implicit \
+ -Wno-return-type -Wno-return-mismatch
append-ldflags $(test-flags -no-pie) #639562
replace-flags -O[3-9] -O2
}