dev-libs/nspr: Sync with Gentoo

It's from Gentoo commit 208d6652b99222db775e219072ecee32194b40ac.
This commit is contained in:
Flatcar Buildbot 2024-02-26 07:11:26 +00:00 committed by Krzesimir Nowak
parent b76c156c2e
commit 21df4af0a2

View File

@ -65,6 +65,9 @@ multilib_src_configure() {
# The build system overrides user optimization level based on a configure flag. #886987
local my_optlvl=$(get-flag '-O*')
# bgo #923802
append-lfs-flags
# We use the standard BUILD_xxx but nspr uses HOST_xxx
tc-export_build_env BUILD_CC
export HOST_CC=${BUILD_CC} HOST_CFLAGS=${BUILD_CFLAGS} HOST_LDFLAGS=${BUILD_LDFLAGS}