summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-01-12 08:10:07 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-01-12 08:10:07 +0200
commit6841381ab063576cf334e9f11b7d8500ebd5b696 (patch)
tree902c5958c4bf3c0669bc564a7709db7f6dfed43c /dev-libs/nspr
parentdev-db/mysql: Stabilize 8.0.27 arm64, #822258 (diff)
downloadgentoo-6841381ab063576cf334e9f11b7d8500ebd5b696.tar.gz
gentoo-6841381ab063576cf334e9f11b7d8500ebd5b696.tar.bz2
gentoo-6841381ab063576cf334e9f11b7d8500ebd5b696.zip
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@gentoo.org>
Diffstat (limited to 'dev-libs/nspr')
-rw-r--r--dev-libs/nspr/nspr-4.32.ebuild3
-rw-r--r--dev-libs/nspr/nspr-4.33.ebuild3
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[@]}"
}