rapidjson: define -DNDEBUG

This commit is contained in:
Đoàn Trần Công Danh 2021-03-27 12:19:04 +07:00
parent 6ef1456692
commit 4feaa3358f
1 changed files with 1 additions and 1 deletions

View File

@ -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