x11-wm/notion: mark as LTO-unsafe, strict-aliasing unsafe

Closes: https://bugs.gentoo.org/965850
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz 2025-12-11 23:03:31 -05:00
parent 18bbe7d91d
commit a59396814f
No known key found for this signature in database
GPG Key ID: 84A7D12B700D2F57
2 changed files with 15 additions and 3 deletions

View File

@ -5,7 +5,7 @@ EAPI=8
LUA_COMPAT=( lua5-4 )
inherit lua-single toolchain-funcs readme.gentoo-r1
inherit flag-o-matic lua-single toolchain-funcs readme.gentoo-r1
DESCRIPTION="Notion is a tiling, tabbed window manager for the X window system"
HOMEPAGE="https://notionwm.net/"
@ -51,6 +51,12 @@ PATCHES=(
)
src_configure() {
# -Werror=strict-aliasing
# https://bugs.gentoo.org/965850
# https://github.com/raboof/notion/issues/390
append-flags -fno-strict-aliasing
filter-lto
tc-export AR CC PKG_CONFIG
export INSTALL_STRIP=""

View File

@ -1,11 +1,11 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
LUA_COMPAT=( lua5-4 )
inherit lua-single toolchain-funcs readme.gentoo-r1
inherit flag-o-matic lua-single toolchain-funcs readme.gentoo-r1
DESCRIPTION="Notion is a tiling, tabbed window manager for the X window system"
HOMEPAGE="https://notionwm.net/"
@ -44,6 +44,12 @@ BDEPEND="
virtual/pkgconfig"
src_configure() {
# -Werror=strict-aliasing
# https://bugs.gentoo.org/965850
# https://github.com/raboof/notion/issues/390
append-flags -fno-strict-aliasing
filter-lto
tc-export AR CC PKG_CONFIG
export INSTALL_STRIP=""