[PATCH] D22663: Support setting default value for -rtlib at build time
Chris Bieneman via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 25 14:05:51 PDT 2016
beanz added a subscriber: beanz.
beanz added a comment.
One small comment on the CMake code.
================
Comment at: CMakeLists.txt:210
@@ +209,3 @@
+ message(WARNING "Resetting default rtlib to use platform default")
+ set(CLANG_DEFAULT_RTLIB "")
+endif()
----------------
You'll want this to be:
```
set(CLANG_DEFAULT_RTLIB "" CACHE STRING "Default runtime library to use (libgcc or compiler-rt)" FORCE)
```
Cached variables can only be overwritten by a `FORCE`.
https://reviews.llvm.org/D22663
More information about the cfe-commits
mailing list