summaryrefslogtreecommitdiff
path: root/system/nspr/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'system/nspr/APKBUILD')
-rw-r--r--system/nspr/APKBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/system/nspr/APKBUILD b/system/nspr/APKBUILD
index 667e2d189..533d31b8c 100644
--- a/system/nspr/APKBUILD
+++ b/system/nspr/APKBUILD
@@ -23,9 +23,8 @@ prepare() {
}
build() {
- local conf=
case "$CARCH" in
- *64* | s390x) conf="--enable-64bit";;
+ *64* | s390x) _conf="--enable-64bit";;
esac
cd "$builddir"/build
# ./nspr/pr/include/md/_linux.h tests only __GLIBC__ version
@@ -38,13 +37,11 @@ build() {
--disable-debug \
--enable-optimize \
--enable-ipv6 \
- $conf
+ $_conf
make CC="${CC:-gcc}" CXX="${CXX:-g++}"
}
package() {
- local file=
-
cd "$builddir"/build
make DESTDIR="$pkgdir" install