Disable -fexpensive-optimizations on 64-bit ARM.

BUG=skia:2908
R=mtklein@google.com

Author: djsollen@google.com

Review URL: https://codereview.chromium.org/535113004
This commit is contained in:
djsollen 2014-09-03 10:44:00 -07:00 committed by Commit bot
parent c09b2c49a3
commit 74364c9774

View File

@ -240,6 +240,13 @@
'-fno-omit-frame-pointer', '-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', { [ 'skia_arch_type == "arm" and arm_thumb == 1', {
'cflags': [ 'cflags': [
'-mthumb', '-mthumb',
@ -578,7 +585,6 @@
}, },
'Release': { 'Release': {
'cflags': ['-O2'], 'cflags': ['-O2'],
'defines': [ 'NDEBUG' ],
}, },
}, },
'libraries': [ 'libraries': [