[PATCH] D137917: [cmake] Fix _GNU_SOURCE being added unconditionally

Trass3r via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 14 04:41:02 PST 2022


Trass3r added inline comments.


================
Comment at: clang/CMakeLists.txt:417
 
-add_definitions( -D_GNU_SOURCE )
-
----------------
Found when building with clang-cl. It's already handled correctly in the llvm config file.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137917/new/

https://reviews.llvm.org/D137917



More information about the llvm-commits mailing list