Commit fed67899 by Alexis Hetu Committed by Alexis Hétu

Fixed build on Arm 64

A few warnings were causing build errors on Arm 64. Since we don't want to modify the LLVM code itself, the warnings in the LLVM code are now suppressed. Bug chromium:922089 Change-Id: I7e8827cda5117e8817342930dca8d7b7f90d339c Reviewed-on: https://swiftshader-review.googlesource.com/c/23628Tested-by: 's avatarAlexis Hétu <sugoi@google.com> Tested-by: 's avatarCorentin Wallez <cwallez@google.com> Reviewed-by: 's avatarCorentin Wallez <cwallez@google.com>
parent 939adc5b
......@@ -170,6 +170,9 @@ config("swiftshader_reactor_private_config") {
]
} else {
cflags = [ "-Wno-unused-local-typedef" ]
if(target_cpu == "arm64") {
cflags += [ "-Wno-defaulted-function-deleted" ]
}
defines = [
"__STDC_CONSTANT_MACROS",
"__STDC_LIMIT_MACROS",
......
......@@ -61,6 +61,10 @@ config("swiftshader_llvm_private_config") {
}
}
if(target_cpu == "arm64") {
cflags += [ "-Wno-defaulted-function-deleted" ]
}
cflags += [
"-Wno-attributes",
"-Wno-deprecated-declarations",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment