diff options
Diffstat (limited to 'third_party/libwebp/libwebp.gyp')
-rw-r--r-- | third_party/libwebp/libwebp.gyp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/libwebp/libwebp.gyp b/third_party/libwebp/libwebp.gyp index 7a8533a..a0acff1 100644 --- a/third_party/libwebp/libwebp.gyp +++ b/third_party/libwebp/libwebp.gyp @@ -3,6 +3,14 @@ # found in the LICENSE file. { + 'target_defaults': { + 'conditions': [ + ['os_posix==1 and (target_arch=="arm" or target_arch=="arm64")', { + 'cflags!': [ '-Os' ], + 'cflags': [ '-O2' ], + }], + ], + }, 'targets': [ { 'target_name': 'libwebp_dec', |