summaryrefslogtreecommitdiff
path: root/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-45.1-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-45.1-r1.ebuild')
-rw-r--r--sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-45.1-r1.ebuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-45.1-r1.ebuild b/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-45.1-r1.ebuild
index 01563bab5406..f263b44b8b24 100644
--- a/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-45.1-r1.ebuild
+++ b/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-45.1-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit gnome.org meson systemd xdg
+inherit flag-o-matic gnome.org meson systemd xdg
DESCRIPTION="Backend implementation for xdg-desktop-portal using GNOME"
HOMEPAGE="https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome"
@@ -41,6 +41,15 @@ PATCHES=(
)
src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/919852
+ # https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/113
+ # https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/merge_requests/138
+ #
+ # Recheck this after next version bump!
+ append-flags -fno-strict-aliasing
+ filter-lto
+
local emesonargs=(
-Dsystemduserunitdir="$(systemd_get_userunitdir)"
)