1
0
Fork 0
forked from suyu/suyu

cmake: Move HAS_NCE to root cmake

* So we can use it in common
This commit is contained in:
GPUCode 2023-11-29 01:33:47 +02:00
parent a76a8fb5fe
commit 340548aba7

View file

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