aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-09 19:59:20 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-09 19:59:20 +0000
commit67f8f57e37fdd0a8a4094416eaa0e3277c3209d4 (patch)
treea1720d46faf48ec99b45620ec84b9f022e287190 /main
parenta253165d38883d96d0089dc8ad0d1d322fd9cea2 (diff)
downloadaports-67f8f57e37fdd0a8a4094416eaa0e3277c3209d4.tar.bz2
aports-67f8f57e37fdd0a8a4094416eaa0e3277c3209d4.tar.xz
main/nss: check for all 64bit arch
Diffstat (limited to 'main')
-rw-r--r--main/nss/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/nss/APKBUILD b/main/nss/APKBUILD
index 22846cd22b..c47249d6fa 100644
--- a/main/nss/APKBUILD
+++ b/main/nss/APKBUILD
@@ -43,9 +43,9 @@ build() {
export NSS_USE_SYSTEM_SQLITE=1
export NSPR_INCLUDE_DIR=`pkg-config --cflags-only-I nspr | sed 's/-I//'`
export NSPR_LIB_DIR=`pkg-config --libs-only-L nspr | sed 's/-L.//'`
- if [ "$CARCH" = "x86_64" ]; then
- export USE_64=1
- fi
+ case "$CARCH" in
+ *64*) export USE_64=1;;
+ esac
make -j 1 -C nss/coreconf || return 1
make -j 1 -C nss/lib/dbm || return 1
make -j 1 -C nss || return 1