This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by jsji on Jul 24 2020, 12:28 PM.

Details

Summary

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.

Diff Detail

Event Timeline

jsji created this revision.Jul 24 2020, 12:28 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 24 2020, 12:28 PM
Herald added subscribers: Restricted Project, mgorny, dberris. · View Herald Transcript
jsji retitled this revision from [compiler-rt][profile][CMake] Remove unused -stdlib when passing -nostdinc++ to [compiler-rt][CMake] Remove unused -stdlib when passing -nostdinc++.
phosek accepted this revision.Jul 24 2020, 1:30 PM

LGTM

This revision is now accepted and ready to land.Jul 24 2020, 1:30 PM
This revision was automatically updated to reflect the committed changes.