[all-commits] [llvm/llvm-project] 3554cf: [compiler-rt][CMake] Remove unused -stdlib when pa...

jsji via All-commits all-commits at lists.llvm.org
Fri Jul 24 14:05:06 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3554cf4f382c7f18beb1265f5199651470c438d8
      https://github.com/llvm/llvm-project/commit/3554cf4f382c7f18beb1265f5199651470c438d8
  Author: Jinsong Ji <jji at us.ibm.com>
  Date:   2020-07-24 (Fri, 24 Jul 2020)

  Changed paths:
    M compiler-rt/lib/profile/CMakeLists.txt

  Log Message:
  -----------
  [compiler-rt][CMake] Remove unused -stdlib when passing -nostdinc++

We added -nostdinc++ to clang_rt.profile in https://reviews.llvm.org/D84205.
This will cause warnings when building with LLVM_ENABLE_LIBCXX,
and failure if with Werror on.

This patch is to fix it by removing unused -stdlib,
similar to what we have done in https://reviews.llvm.org/D42238.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D84543




More information about the All-commits mailing list