diff options
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/common_conditions.gypi | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi index 9a436f3130..0075b250ea 100644 --- a/gyp/common_conditions.gypi +++ b/gyp/common_conditions.gypi @@ -240,6 +240,13 @@ '-fno-omit-frame-pointer', ], }], + [ 'skia_arch_type == "arm64"', { + # this flag causes tiling errors with GCC 4.9 (pre-release) toolchain + # see skbug.com/ + 'cflags': [ + '-fno-expensive-optimizations' + ], + }], [ 'skia_arch_type == "arm" and arm_thumb == 1', { 'cflags': [ '-mthumb', @@ -578,7 +585,6 @@ }, 'Release': { 'cflags': ['-O2'], - 'defines': [ 'NDEBUG' ], }, }, 'libraries': [ |