[PATCH] D47834: [CMake] Passthrough additional flags to custom libcxx CMake build

Matt Morehouse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 6 12:39:17 PDT 2018


morehouse added inline comments.


================
Comment at: compiler-rt/cmake/Modules/AddCompilerRT.cmake:513
+
+  string(REPLACE ";" " " FLAGS_STRING "${LIBCXX_CFLAGS}")
+  set(LIBCXX_C_FLAGS "${CMAKE_C_FLAGS} ${FLAGS_STRING}")
----------------
Why is this replacement necessary?


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D47834





More information about the llvm-commits mailing list