[llvm] [Support] Adjust .note.GNU-stack guard in Support/BLAKE3/blake3_*_x86… (PR #76229)

Rainer Orth via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 12 06:22:20 PST 2024


================
@@ -2,7 +2,7 @@
 
 #include "llvm_blake3_prefix.h"
 
-#if defined(__ELF__) && defined(__linux__)
+#if defined(__ELF__) && (defined(__linux__) || defined(__FreeBSD__) || defined(__Fuchsia__))
----------------
rorth wrote:

Ah, I forgot: tested on `amd64-pc-freebsd14.0` and `amd64-pc-solaris2.11`.

https://github.com/llvm/llvm-project/pull/76229


More information about the llvm-commits mailing list