summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Daniel Mierswa <impulze@impulze.org> 2009-10-29 18:15:39 +0100
committerAvatar Wulf C. Krueger <philantrop@exherbo.org> 2010-01-22 21:18:23 +0100
commit3c9ebad14a9553a76aa6cd915a879479828216a4 (patch)
tree0dcee2900bf4d6cc36e7cba223c4f3232f783bbd
parent10f2d91da492818d4e886c32954f7569dceb5edb (diff)
downloadmozilla-3c9ebad14a9553a76aa6cd915a879479828216a4.tar.gz
mozilla-3c9ebad14a9553a76aa6cd915a879479828216a4.tar.xz
Honour CC and other toolchain variables.
-rw-r--r--packages/dev-libs/nss/nss-3.12.3.1-r1.exheres-07
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/dev-libs/nss/nss-3.12.3.1-r1.exheres-0 b/packages/dev-libs/nss/nss-3.12.3.1-r1.exheres-0
index f01d9ce..371df05 100644
--- a/packages/dev-libs/nss/nss-3.12.3.1-r1.exheres-0
+++ b/packages/dev-libs/nss/nss-3.12.3.1-r1.exheres-0
@@ -35,11 +35,18 @@ WORK="${WORKBASE}/${PNV}/mozilla/security/nss"
src_configure() {
# Respect LDFLAGS
export DSO_LDOPTS="${LDFLAGS}"
+
+ # Respect user AR
+ edo sed -e "/^AR[ \t]*= ar cr/s:ar:${AR}:" -i ../coreconf/UNIX.mk
+
option platform:amd64 || option platform:ppc64 && export USE_64=1
}
src_compile() {
emake -j1 \
+ CC="${CC}" \
+ CCC="${CXX}" \
+ RANLIB="${RANLIB}" \
NSDISTMODE=copy \
NSPR_INCLUDE_DIR=/usr/include/nspr \
NSS_ENABLE_ECC=1 \