Index: dl/dl.gyp |
diff --git a/dl/dl.gyp b/dl/dl.gyp |
index 84b844f0012b7d661f3d8b3a465129596ae86817..2b0826fe14342d96037d18ada342501b754829aa 100644 |
--- a/dl/dl.gyp |
+++ b/dl/dl.gyp |
@@ -21,9 +21,12 @@ |
'conditions' : [ |
['clang==1', { |
# TODO(hans) Enable integrated-as (crbug.com/124610). |
- 'cflags': [ |
- '-fno-integrated-as', |
- '-B<(android_toolchain)', # Else /usr/bin/as gets picked up. |
+ 'cflags': [ '-fno-integrated-as' ], |
+ 'conditions': [ |
+ ['OS == "android"', { |
+ # Else /usr/bin/as gets picked up. |
+ 'cflags': [ '-B<(android_toolchain)' ], |
+ }], |
], |
}], |
['arm_neon==1', { |