From 4fe2b15c0a096ed037681923371644510e44171d Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Fri, 17 Feb 2017 15:36:01 -0500 Subject: [PATCH] Set asmflags when building for iOS. It's probably best we build iOS assembly with the iOS SDK and the right architecture settings in Clang... Change-Id: I68119641b1f86267ca85434b5a7f6ed37838ce23 Reviewed-on: https://skia-review.googlesource.com/8680 Reviewed-by: Mike Klein Commit-Queue: Mike Klein --- gn/BUILD.gn | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gn/BUILD.gn b/gn/BUILD.gn index 37852251cb..b223a0a1c1 100644 --- a/gn/BUILD.gn +++ b/gn/BUILD.gn @@ -190,6 +190,12 @@ config("default") { if (target_cpu == "arm") { _target = "armv7" } + asmflags += [ + "-isysroot", + ios_sysroot, + "-arch", + _target, + ] cflags += [ "-isysroot", ios_sysroot,