From 4feaa3358f269a26fa8677798b8bbea529fe8402 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 12:19:04 +0700 Subject: [PATCH] rapidjson: define -DNDEBUG --- srcpkgs/rapidjson/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/rapidjson/template b/srcpkgs/rapidjson/template index 8597f8fb270..99d92702cc9 100644 --- a/srcpkgs/rapidjson/template +++ b/srcpkgs/rapidjson/template @@ -11,7 +11,7 @@ distfiles="https://github.com/miloyip/${pkgname}/archive/v${version}.tar.gz" checksum=bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e # class-memaccess is required by https://github.com/Tencent/rapidjson/issues/1700 -CXXFLAGS="-Wno-type-limits -Wno-error=class-memaccess" +CXXFLAGS="-Wno-type-limits -Wno-error=class-memaccess -DNDEBUG" post_patch() { # Remove bin/jsonchecker, which is the JSON licensed files