[PATCH] D124343: [compiler-rt] Use C_STANDARD instead of custom logic for adding -std=c11

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 24 13:11:19 PDT 2022


phosek added inline comments.


================
Comment at: compiler-rt/cmake/Modules/AddCompilerRT.cmake:382-385
     set_target_properties(${libname} PROPERTIES
         OUTPUT_NAME ${output_name_${libname}})
+    set_target_properties(${libname} PROPERTIES
+        C_STANDARD 11)
----------------
This can be combined into a single invocation.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124343



More information about the llvm-commits mailing list