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/23628
Tested-by: Alexis Hétu <sugoi@google.com>
Tested-by: Corentin Wallez <cwallez@google.com>
Reviewed-by: Corentin Wallez <cwallez@google.com>
diff --git a/src/Reactor/BUILD.gn b/src/Reactor/BUILD.gn
index c983c43..be5e505 100644
--- a/src/Reactor/BUILD.gn
+++ b/src/Reactor/BUILD.gn
@@ -170,6 +170,9 @@
     ]
   } else {
     cflags = [ "-Wno-unused-local-typedef" ]
+    if(target_cpu == "arm64") {

+      cflags += [ "-Wno-defaulted-function-deleted" ]

+    }

     defines = [
       "__STDC_CONSTANT_MACROS",
       "__STDC_LIMIT_MACROS",
diff --git a/third_party/llvm-7.0/BUILD.gn b/third_party/llvm-7.0/BUILD.gn
index 4ccc6d1..f0b3dc8 100644
--- a/third_party/llvm-7.0/BUILD.gn
+++ b/third_party/llvm-7.0/BUILD.gn
@@ -61,6 +61,10 @@
     }
   }
 
+  if(target_cpu == "arm64") {

+    cflags += [ "-Wno-defaulted-function-deleted" ]

+  }

+

   cflags += [
     "-Wno-attributes",
     "-Wno-deprecated-declarations",