aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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