mate-base/caja: mark as LTO-unsafe, strict-aliasing unsafe

Closes: https://bugs.gentoo.org/926751
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Eli Schwartz
2024-04-01 01:27:28 -04:00
committed by Sam James
parent d4efb144b5
commit fc63cf7051
2 changed files with 12 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ EAPI=8
MATE_LA_PUNT="yes"
inherit mate
inherit flag-o-matic mate
MINOR=$(($(ver_cut 2) % 2))
if [[ ${MINOR} -eq 0 ]]; then
@@ -67,6 +67,11 @@ src_prepare() {
}
src_configure() {
# https://bugs.gentoo.org/926751
# https://github.com/mate-desktop/caja/issues/1774
append-flags -fno-strict-aliasing
filter-lto
mate_src_configure \
--disable-update-mimedb \
$(use_enable introspection) \

View File

@@ -5,7 +5,7 @@ EAPI=8
MATE_LA_PUNT="yes"
inherit mate
inherit flag-o-matic mate
MINOR=$(($(ver_cut 2) % 2))
if [[ ${MINOR} -eq 0 ]]; then
@@ -69,6 +69,11 @@ src_prepare() {
}
src_configure() {
# https://bugs.gentoo.org/926751
# https://github.com/mate-desktop/caja/issues/1774
append-flags -fno-strict-aliasing
filter-lto
mate_src_configure \
--disable-update-mimedb \
$(use_enable introspection) \