cmake: Move HAS_NCE to root cmake
* So we can use it in common
This commit is contained in:
parent
a76a8fb5fe
commit
340548aba7
|
@ -541,7 +541,7 @@ public:
|
||||||
if (write) {
|
if (write) {
|
||||||
flags |= PROT_WRITE;
|
flags |= PROT_WRITE;
|
||||||
}
|
}
|
||||||
#ifdef ARCHITECTURE_arm64
|
#ifdef HAS_NCE
|
||||||
if (execute) {
|
if (execute) {
|
||||||
flags |= PROT_EXEC;
|
flags |= PROT_EXEC;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue