aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mongo-cxx-driver/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/mongo-cxx-driver/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/mongo-cxx-driver/APKBUILD')
-rw-r--r--testing/mongo-cxx-driver/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/mongo-cxx-driver/APKBUILD b/testing/mongo-cxx-driver/APKBUILD
index b8d33a9109..922a2dd170 100644
--- a/testing/mongo-cxx-driver/APKBUILD
+++ b/testing/mongo-cxx-driver/APKBUILD
@@ -3,7 +3,7 @@
pkgname="mongo-cxx-driver"
pkgver="3.4.0"
_commit="131fa1a67acd45c0eebcbdcfee42b212af8d2e80" # master compiles with GCC8.3/CXX17
-pkgrel=1
+pkgrel=2
pkgdesc="C++ driver for MongoDB"
url="http://mongocxx.org/"
arch="all"
@@ -28,7 +28,7 @@ build() {
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
- -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_BUILD_TYPE=None \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DCMAKE_CXX_STANDARD=17 \