Roll Clang from 026df9514ead to ca6196138012.

Fix new -Werror=unused-command-line-argument for -stdlib=libc++.

Change-Id: I7e6056323b7bb6da49b80299380be6ed7b70c582
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/278691
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
Ryan Macnak 2023-01-10 17:20:04 +00:00 committed by Commit Queue
parent deaf9ce16e
commit ef3e0a45a8
2 changed files with 5 additions and 8 deletions

2
DEPS
View file

@ -74,7 +74,7 @@ vars = {
# The list of revisions for these tools comes from Fuchsia, here: # The list of revisions for these tools comes from Fuchsia, here:
# https://fuchsia.googlesource.com/integration/+/HEAD/toolchain # https://fuchsia.googlesource.com/integration/+/HEAD/toolchain
# If there are problems with the toolchain, contact fuchsia-toolchain@. # If there are problems with the toolchain, contact fuchsia-toolchain@.
"clang_version": "git_revision:026df9514eada25e72ff69a587a580fd29ff2732", "clang_version": "git_revision:ca619613801233ef2def8c3cc7d311d5ed0033cb",
"gn_version": "git_revision:0bcd37bd2b83f1a9ee17088037ebdfe6eab6d31a", "gn_version": "git_revision:0bcd37bd2b83f1a9ee17088037ebdfe6eab6d31a",
# Update from https://chrome-infra-packages.appspot.com/p/fuchsia/sdk/gn # Update from https://chrome-infra-packages.appspot.com/p/fuchsia/sdk/gn

View file

@ -6,13 +6,10 @@ import("//build/config/sysroot.gni")
import("../clang/clang.gni") import("../clang/clang.gni")
config("sdk") { config("sdk") {
common_flags = [ "-stdlib=libc++" ] ldflags = [
"-nostdlib++",
cflags = common_flags "${clang_prefix}/../lib/libc++.a",
ldflags = common_flags + [ ]
"-nostdlib++",
"${clang_prefix}/../lib/libc++.a",
]
} }
# On Mac, this is used for everything except static libraries. # On Mac, this is used for everything except static libraries.