[PATCH] D44499: [Scudo] Avoid accidental references of C++ library

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 14 16:09:33 PDT 2018


cryptoad added a comment.

So as is this gets me `clang-6.0: error: argument unused during compilation: '-nostdlib++' [-Werror,-Wunused-command-line-argument]`.
I duplicated `SCUDO_CFLAGS` to `SCUDO_CXXFLAGS` and added `-nostdlib++` there, replacing the flags for the CXX static library & the .so and this works, but I am not sure it achieves what you want.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D44499





More information about the llvm-commits mailing list