dev-libs/nspr: Sync with Gentoo

It's from Gentoo commit 9da7e1e40003ff669572d9dd47f11aedd8852f2e.
This commit is contained in:
Flatcar Buildbot 2024-03-25 07:11:17 +00:00 committed by Krzesimir Nowak
parent 18e41da04f
commit 4c99b53693

View File

@ -62,6 +62,14 @@ src_prepare() {
} }
multilib_src_configure() { multilib_src_configure() {
# -Werror=strict-aliasing
# https://bugs.gentoo.org/867634
#
# Testsuite-only issue. Still, this makes it challenging to test the package with LTO
# enabled...
append-flags -fno-strict-aliasing
filter-lto
# The build system overrides user optimization level based on a configure flag. #886987 # The build system overrides user optimization level based on a configure flag. #886987
local my_optlvl=$(get-flag '-O*') local my_optlvl=$(get-flag '-O*')