mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
x11-base/xorg-server: replace -Os w/ -O2
Closes: https://bugs.gentoo.org/835653 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
XORG_TARBALL_SUFFIX="xz"
|
||||
XORG_EAUTORECONF="no"
|
||||
inherit xorg-3 meson
|
||||
inherit flag-o-matic xorg-3 meson
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/xorg/xserver.git"
|
||||
|
||||
DESCRIPTION="X.Org X servers"
|
||||
@@ -103,10 +103,12 @@ PATCHES=(
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
# bug #835653
|
||||
use amd64 && replace-flags -Os -O2
|
||||
|
||||
# localstatedir is used for the log location; we need to override the default
|
||||
# from ebuild.sh
|
||||
# sysconfdir is used for the xorg.conf location; same applies
|
||||
|
||||
local emesonargs=(
|
||||
--localstatedir "${EPREFIX}/var"
|
||||
--sysconfdir "${EPREFIX}/etc/X11"
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
XORG_TARBALL_SUFFIX="xz"
|
||||
XORG_EAUTORECONF="no"
|
||||
inherit xorg-3 meson
|
||||
inherit flag-o-matic xorg-3 meson
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/xorg/xserver.git"
|
||||
|
||||
DESCRIPTION="X.Org X servers"
|
||||
@@ -103,10 +103,12 @@ PATCHES=(
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
# bug #835653
|
||||
use x86 && replace-flags -Os -O2
|
||||
|
||||
# localstatedir is used for the log location; we need to override the default
|
||||
# from ebuild.sh
|
||||
# sysconfdir is used for the xorg.conf location; same applies
|
||||
|
||||
local emesonargs=(
|
||||
--localstatedir "${EPREFIX}/var"
|
||||
--sysconfdir "${EPREFIX}/etc/X11"
|
||||
|
||||
Reference in New Issue
Block a user