diff options
author | 2024-03-04 20:26:33 -0500 | |
---|---|---|
committer | 2024-03-05 04:47:50 +0000 | |
commit | 51f60d956e142d90744bc8d99e99f81ee98221bf (patch) | |
tree | 3779ab65fbfc09bf12037fcfda6cd78a99f581ee /sys-apps/xdg-desktop-portal-gnome | |
parent | media-libs/lsp-plugins: mark as LTO-unsafe (diff) | |
download | gentoo-51f60d956e142d90744bc8d99e99f81ee98221bf.tar.gz gentoo-51f60d956e142d90744bc8d99e99f81ee98221bf.tar.bz2 gentoo-51f60d956e142d90744bc8d99e99f81ee98221bf.zip |
sys-apps/xdg-desktop-portal-gnome: mark LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/919852
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/xdg-desktop-portal-gnome')
-rw-r--r-- | sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-45.1-r1.ebuild | 11 |
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)" ) |