commit:     4ca8019087aab182e0f3f1211f235f128d537b8a
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  7 06:42:26 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Jun  7 06:44:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ca80190

app-editors/emacs: Leave CFLAGS alone in Emacs 27 and newer

Closes: https://bugs.gentoo.org/839405
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-editors/emacs/emacs-27.2-r5.ebuild | 11 +----------
 app-editors/emacs/emacs-28.1.ebuild    | 11 +----------
 2 files changed, 2 insertions(+), 20 deletions(-)

diff --git a/app-editors/emacs/emacs-27.2-r5.ebuild 
b/app-editors/emacs/emacs-27.2-r5.ebuild
index 50165a4c30ce..18395bf3a2ec 100644
--- a/app-editors/emacs/emacs-27.2-r5.ebuild
+++ b/app-editors/emacs/emacs-27.2-r5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools elisp-common flag-o-matic readme.gentoo-r1 toolchain-funcs
+inherit elisp-common readme.gentoo-r1 toolchain-funcs #autotools
 
 if [[ ${PV##*.} = 9999 ]]; then
        inherit git-r3
@@ -159,15 +159,6 @@ src_prepare() {
 }
 
 src_configure() {
-       strip-flags
-       filter-flags -pie                                       #526948
-
-       if use ia64; then
-               replace-flags "-O[2-9]" -O1             #325373
-       else
-               replace-flags "-O[3-9]" -O2
-       fi
-
        local myconf
 
        if use alsa; then

diff --git a/app-editors/emacs/emacs-28.1.ebuild 
b/app-editors/emacs/emacs-28.1.ebuild
index c1f2773fb0b4..69b2645dfb9b 100644
--- a/app-editors/emacs/emacs-28.1.ebuild
+++ b/app-editors/emacs/emacs-28.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit elisp-common flag-o-matic readme.gentoo-r1 toolchain-funcs #autotools
+inherit elisp-common readme.gentoo-r1 toolchain-funcs #autotools
 
 if [[ ${PV##*.} = 9999 ]]; then
        inherit git-r3
@@ -169,15 +169,6 @@ src_prepare() {
 }
 
 src_configure() {
-       strip-flags
-       filter-flags -pie                                       #526948
-
-       if use ia64; then
-               replace-flags "-O[2-9]" -O1             #325373
-       else
-               replace-flags "-O[3-9]" -O2
-       fi
-
        local myconf
 
        if use alsa; then

Reply via email to