commit: 6841381ab063576cf334e9f11b7d8500ebd5b696
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 12 06:10:07 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jan 12 06:10:07 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6841381a
dev-libs/nspr: respect $AS settings (revert revert)
This reverts commit 773b7471a42cb6169f97264fe07d5de95f655cb3.
- commit was reviewed and tested.
- we'd like to work with the author(s) directly in future and not
through hoops, it'd be healthier in longterm too.
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-libs/nspr/nspr-4.32.ebuild | 3 ++-
dev-libs/nspr/nspr-4.33.ebuild | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dev-libs/nspr/nspr-4.32.ebuild b/dev-libs/nspr/nspr-4.32.ebuild
index d6db3c7ef9ee..7be0ae41e449 100644
--- a/dev-libs/nspr/nspr-4.32.ebuild
+++ b/dev-libs/nspr/nspr-4.32.ebuild
@@ -60,7 +60,7 @@ multilib_src_configure() {
# 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}
- tc-export AR CC CXX RANLIB
+ tc-export AR AS CC CXX RANLIB
[[ ${CBUILD} != ${CHOST} ]] \
&& export CROSS_COMPILE=1 \
|| unset CROSS_COMPILE
@@ -98,6 +98,7 @@ multilib_src_configure() {
# Ancient autoconf needs help finding the right tools.
LC_ALL="C" ECONF_SOURCE="${S}/nspr" \
ac_cv_path_AR="${AR}" \
+ ac_cv_path_AS="${AS}" \
econf "${myconf[@]}"
}
diff --git a/dev-libs/nspr/nspr-4.33.ebuild b/dev-libs/nspr/nspr-4.33.ebuild
index c0dd76d1aa2e..3f4ceb883969 100644
--- a/dev-libs/nspr/nspr-4.33.ebuild
+++ b/dev-libs/nspr/nspr-4.33.ebuild
@@ -60,7 +60,7 @@ multilib_src_configure() {
# 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}
- tc-export AR CC CXX RANLIB
+ tc-export AR AS CC CXX RANLIB
[[ ${CBUILD} != ${CHOST} ]] \
&& export CROSS_COMPILE=1 \
|| unset CROSS_COMPILE
@@ -98,6 +98,7 @@ multilib_src_configure() {
# Ancient autoconf needs help finding the right tools.
LC_ALL="C" ECONF_SOURCE="${S}/nspr" \
ac_cv_path_AR="${AR}" \
+ ac_cv_path_AS="${AS}" \
econf "${myconf[@]}"
}