aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zig/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-02-20 18:36:56 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2020-02-21 18:12:22 +0100
commit539c11eaf78c3222296d07f8ef36572563ffd918 (patch)
tree816d69eeeb73df651583816e5ea03f2477020d4b /testing/zig/APKBUILD
parentc7a1f20490e2882233bfdfa682040d3cb0ffd967 (diff)
downloadaports-539c11eaf78c3222296d07f8ef36572563ffd918.tar.gz
aports-539c11eaf78c3222296d07f8ef36572563ffd918.tar.bz2
aports-539c11eaf78c3222296d07f8ef36572563ffd918.tar.xz
testing/*: make CMake and meson respect our C{,PP,XX}FLAGS
See: https://lists.alpinelinux.org/~alpine/devel/%3C2896c13070c508a49cbaa72c8fb7f34ea947358b.camel%40cogitri.dev%3E
Diffstat (limited to 'testing/zig/APKBUILD')
-rw-r--r--testing/zig/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/zig/APKBUILD b/testing/zig/APKBUILD
index 12563410c3..ea1b80b72d 100644
--- a/testing/zig/APKBUILD
+++ b/testing/zig/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname="zig"
pkgver="0.5.0"
-pkgrel=0
+pkgrel=1
pkgdesc="general-purpose programming language designed for robustness, optimality, and maintainability"
url="https://ziglang.org/"
arch="x86_64"
@@ -21,7 +21,7 @@ build() {
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake \
- -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DZIG_FORCE_EXTERNAL_LLD=ON \
-DZIG_SKIP_INSTALL_LIB_FILES=ON \
@@ -40,7 +40,7 @@ package() {
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake \
- -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DZIG_FORCE_EXTERNAL_LLD=ON \
-DZIG_SKIP_INSTALL_LIB_FILES=OFF \