[PATCH] D57757: [scudo][standalone] Do not error out on spurious C(XX) flags

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 5 12:10:58 PST 2019


eugenis added inline comments.


================
Comment at: lib/scudo/standalone/CMakeLists.txt:14
+if(COMPILER_RT_ENABLE_WERROR)
+  append_string_if(COMPILER_RT_HAS_WERROR_FLAG -Wno-unused-command-line-argument SCUDO_CFLAGS)
+endif()
----------------
Did you mean to add -Werror here instead of -Wno-unused-command-line-argument?
COMPILER_RT_HAS_WERROR_FLAG only means that -Werror is supported, not the other one.


Repository:
  rCRT Compiler Runtime

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

https://reviews.llvm.org/D57757





More information about the llvm-commits mailing list