rust-llvm: correctly disable assertions
We were already trying to disable assertions, but it wasn't working. rust-llvm now configures assertions based on the CMAKE_BUILD_TYPE. Setting that to "Release" causes assertions to be disabled, which is what we want.
This commit is contained in:
@@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=4c0bc17c954e99fd547528d938832bfa"
|
|||||||
inherit cmake pythonnative
|
inherit cmake pythonnative
|
||||||
|
|
||||||
EXTRA_OECMAKE = " \
|
EXTRA_OECMAKE = " \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DLLVM_TARGETS_TO_BUILD='X86;ARM;AArch64;PowerPC;Mips' \
|
-DLLVM_TARGETS_TO_BUILD='X86;ARM;AArch64;PowerPC;Mips' \
|
||||||
-DLLVM_ENABLE_ASSERTIONS=OFF \
|
|
||||||
-DLLVM_BUILD_DOCS=OFF \
|
-DLLVM_BUILD_DOCS=OFF \
|
||||||
-DLLVM_ENABLE_TERMINFO=OFF \
|
-DLLVM_ENABLE_TERMINFO=OFF \
|
||||||
-DLLVM_ENABLE_ZLIB=OFF \
|
-DLLVM_ENABLE_ZLIB=OFF \
|
||||||
|
|||||||
Reference in New Issue
Block a user