Suppress -Wreturn-std-move-in-c++11 for building in Skia
Bug: dawn:706 Change-Id: I882b58cf19a678f1eaa55cacc19a1ada67b55cce Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/44868 Auto-Submit: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
parent
9496f28775
commit
4f4a285750
|
@ -27,6 +27,12 @@ config("tint_common_config") {
|
||||||
"${tint_spirv_tools_dir}/",
|
"${tint_spirv_tools_dir}/",
|
||||||
"${tint_spirv_tools_dir}/include",
|
"${tint_spirv_tools_dir}/include",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if (is_clang) {
|
||||||
|
# Suppress a warning enabled by Skia: Tint is C++14 so the C++11 defect
|
||||||
|
# detected by this warning has been fixed.
|
||||||
|
cflags = [ "-Wno-return-std-move-in-c++11" ]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
config("tint_public_config") {
|
config("tint_public_config") {
|
||||||
|
|
Loading…
Reference in New Issue