summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jordan <immoloism@gmail.com>2024-10-01 18:03:25 +0100
committerMatt Turner <mattst88@gentoo.org>2024-10-02 18:16:11 -0400
commit0aaaf3c11fd14c5518bb73adcd18019e4c890638 (patch)
tree307f38d06887d98fab7b8f117db508f937c3b781 /x11-base
parentnet-wireless/wireless-regdb: Stabilize 20240508 ALLARCHES, #940113 (diff)
downloadgentoo-0aaaf3c11fd14c5518bb73adcd18019e4c890638.tar.gz
gentoo-0aaaf3c11fd14c5518bb73adcd18019e4c890638.tar.bz2
gentoo-0aaaf3c11fd14c5518bb73adcd18019e4c890638.zip
x11-base/xorg-server: Add Oz to replace-flags for x86
Like Os, Oz has the same issue so added a second line to replace the flag. Bug: https://bugs.gentoo.org/835653 Signed-off-by: Ian Jordan <immoloism@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/38840 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/xorg-server/xorg-server-21.1.13-r1.ebuild1
-rw-r--r--x11-base/xorg-server/xorg-server-9999.ebuild1
2 files changed, 2 insertions, 0 deletions
diff --git a/x11-base/xorg-server/xorg-server-21.1.13-r1.ebuild b/x11-base/xorg-server/xorg-server-21.1.13-r1.ebuild
index 0923dc31158f..16599d733bf8 100644
--- a/x11-base/xorg-server/xorg-server-21.1.13-r1.ebuild
+++ b/x11-base/xorg-server/xorg-server-21.1.13-r1.ebuild
@@ -111,6 +111,7 @@ PATCHES=(
src_configure() {
# bug #835653
use x86 && replace-flags -Os -O2
+ use x86 && replace-flags -Oz -O2
# localstatedir is used for the log location; we need to override the default
# from ebuild.sh
diff --git a/x11-base/xorg-server/xorg-server-9999.ebuild b/x11-base/xorg-server/xorg-server-9999.ebuild
index 73e76552fc7b..fbaefca8e5ce 100644
--- a/x11-base/xorg-server/xorg-server-9999.ebuild
+++ b/x11-base/xorg-server/xorg-server-9999.ebuild
@@ -104,6 +104,7 @@ PATCHES=(
src_configure() {
# bug #835653
use x86 && replace-flags -Os -O2
+ use x86 && replace-flags -Oz -O2
use debug && EMESON_BUILDTYPE=debug