HomePhabricator

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

Authored by jsji on Jul 24 2020, 1:55 PM.

Description

[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

Details

Committed
jsjiJul 24 2020, 2:04 PM
Reviewer
phosek
Differential Revision
D84543: [compiler-rt][CMake] Remove unused -stdlib when passing -nostdinc++
Parents
rG4dc3014c51fd: [compiler-rt][fuzzer] Disable bcmp.test on darwin
Branches
Unknown
Tags
Unknown