diff options
author | GPUCode <geoster3d@gmail.com> | 2023-11-29 01:33:47 +0200 |
---|---|---|
committer | GPUCode <geoster3d@gmail.com> | 2023-11-29 01:35:06 +0200 |
commit | 340548aba798ca2d0accf3bc3f0f787d15484946 (patch) | |
tree | ffbbe0e5e453549cc0fbec53569cd7cbbf8a8cdc /src/common/host_memory.cpp | |
parent | a76a8fb5fecb4731a9a9231f3e06d5743c34e090 (diff) |
cmake: Move HAS_NCE to root cmake
* So we can use it in common
Diffstat (limited to 'src/common/host_memory.cpp')
-rw-r--r-- | src/common/host_memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/host_memory.cpp b/src/common/host_memory.cpp index 413dd3e98..3a9ea6eb4 100644 --- a/src/common/host_memory.cpp +++ b/src/common/host_memory.cpp @@ -541,7 +541,7 @@ public: if (write) { flags |= PROT_WRITE; } -#ifdef ARCHITECTURE_arm64 +#ifdef HAS_NCE if (execute) { flags |= PROT_EXEC; } |