Skip to content
Snippets Groups Projects
  1. Feb 10, 2025
  2. Feb 06, 2025
  3. Feb 05, 2025
  4. Feb 04, 2025
    • Victor Zhang's avatar
      Add noexecstack flag for gcc/clang C and CPP in Meson · 7b856e30
      Victor Zhang authored
      The `-Wl,-z,noexecstack` and `-Wa,--noexecstack` flags are already set for CMake, but not for Meson.
      This brings the flags to the Meson build as well. Note that this maintains the discrepancy in behavior
      between CMake and Meson when it comes to enabling ASM: on CMake, the ZSTD_HAS_NOEXECSTACK variable
      is set and these flags added for GCC/Clang and MinGW. Then later, the ZSTD_HAS_NOEXECSTACK variable
      is checked (along with some other conditions) to enable or disable ASM. However on Meson, this logic
      is restricted to simply checking for GCC/Clang. This patch maintains this behavior; noexecstack is
      dependent on GCC/Clang only.
      7b856e30
  5. Jan 31, 2025
  6. Jan 30, 2025
  7. Jan 27, 2025
Loading