Merge "Reland "Switch to clang-r445002"" am: 2b31fbb805
am: c31610cbce
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1985009 Change-Id: I9fbf7ec2f76127d654845b2f6db466d8d0daf460
This commit is contained in:
committed by
Automerger Merge Worker
commit
640d3f8587
@@ -107,6 +107,9 @@ var (
|
|||||||
// This macro allows the bionic versioning.h to indirectly determine whether the
|
// This macro allows the bionic versioning.h to indirectly determine whether the
|
||||||
// option -Wunguarded-availability is on or not.
|
// option -Wunguarded-availability is on or not.
|
||||||
"-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
|
"-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__",
|
||||||
|
|
||||||
|
// Turn off FMA which got enabled by default in clang-r445002 (http://b/218805949)
|
||||||
|
"-ffp-contract=off",
|
||||||
}
|
}
|
||||||
|
|
||||||
commonGlobalConlyflags = []string{}
|
commonGlobalConlyflags = []string{}
|
||||||
@@ -238,6 +241,8 @@ var (
|
|||||||
// http://b/197240255
|
// http://b/197240255
|
||||||
"-Wno-unused-but-set-variable",
|
"-Wno-unused-but-set-variable",
|
||||||
"-Wno-unused-but-set-parameter",
|
"-Wno-unused-but-set-parameter",
|
||||||
|
// http://b/215753485
|
||||||
|
"-Wno-bitwise-instead-of-logical",
|
||||||
}
|
}
|
||||||
|
|
||||||
// Extra cflags for external third-party projects to disable warnings that
|
// Extra cflags for external third-party projects to disable warnings that
|
||||||
@@ -282,8 +287,8 @@ var (
|
|||||||
|
|
||||||
// prebuilts/clang default settings.
|
// prebuilts/clang default settings.
|
||||||
ClangDefaultBase = "prebuilts/clang/host"
|
ClangDefaultBase = "prebuilts/clang/host"
|
||||||
ClangDefaultVersion = "clang-r437112b"
|
ClangDefaultVersion = "clang-r445002"
|
||||||
ClangDefaultShortVersion = "14.0.1"
|
ClangDefaultShortVersion = "14.0.2"
|
||||||
|
|
||||||
// Directories with warnings from Android.bp files.
|
// Directories with warnings from Android.bp files.
|
||||||
WarningAllowedProjects = []string{
|
WarningAllowedProjects = []string{
|
||||||
|
Reference in New Issue
Block a user