rapidjson: define -DNDEBUG
This commit is contained in:
parent
6ef1456692
commit
4feaa3358f
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ distfiles="https://github.com/miloyip/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e
|
checksum=bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e
|
||||||
|
|
||||||
# class-memaccess is required by https://github.com/Tencent/rapidjson/issues/1700
|
# 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() {
|
post_patch() {
|
||||||
# Remove bin/jsonchecker, which is the JSON licensed files
|
# Remove bin/jsonchecker, which is the JSON licensed files
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue