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