diff options
author | 2017-02-17 15:36:01 -0500 | |
---|---|---|
committer | 2017-02-17 21:11:41 +0000 | |
commit | 4fe2b15c0a096ed037681923371644510e44171d (patch) | |
tree | 1962ced5fa2cf47a9adf08ed423055548cbf195b /gn | |
parent | c5e641cc9947b8b2d3c63f908c7b98fa5b3d0f07 (diff) |
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 <mtklein@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'gn')
-rw-r--r-- | gn/BUILD.gn | 6 |
1 files changed, 6 insertions, 0 deletions
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, |