From dc7aff0db09e19dba4f3136eb11b06fdbdf5ede0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 27 Mar 2021 11:27:28 +0700 Subject: [PATCH] coin3: build with CMAKE_BUILD_TYPE=None --- srcpkgs/coin3/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/coin3/template b/srcpkgs/coin3/template index d5483ee048..8f7218c2e8 100644 --- a/srcpkgs/coin3/template +++ b/srcpkgs/coin3/template @@ -5,7 +5,7 @@ revision=1 wrksrc="coin-Coin-${version}" build_style=cmake configure_args="-DCMAKE_INSTALL_INCLUDEDIR=/usr/include/Coin3 - -DCMAKE_BUILD_TYPE=Release -DCOIN_BUILD_TESTS=OFF -DCOIN_BUILD_DOCUMENTATION=ON" + -DCOIN_BUILD_TESTS=OFF -DCOIN_BUILD_DOCUMENTATION=ON" hostmakedepends="doxygen graphviz" makedepends="boost-devel glu-devel" short_desc="High-level 3D graphics toolkit" @@ -15,6 +15,9 @@ homepage="https://coin3d.github.io/" distfiles="https://github.com/coin3d/coin/archive/Coin-${version}.tar.gz" checksum=b00d2a8e9d962397cf9bf0d9baa81bcecfbd16eef675a98c792f5cf49eb6e805 +CFLAGS=-DNDEBUG +CXXFLAGS=-DNDEBUG + if [ "$CROSS_BUILD" ]; then # bypass runtime test (quote hashing is fine with gcc 9.3) configure_args+=" -DHAVE_HASH_QUOTING_EXITCODE=0"