aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/opts.gyp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-01-25 09:26:54 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-01-25 09:26:54 -0800
commit20473344b223023e1adea692cb93ae4a4c96bbc8 (patch)
treede2ab38e4846610cc4f53d01c781bbf8b6a14aad /gyp/opts.gyp
parent0dfffbeeec3078f6a03e83a4efa4c45fefdd338d (diff)
spin off some safe parts from AVX2 CL
(reviewed here https://codereview.chromium.org/1532613002/) BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1628333003 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Review URL: https://codereview.chromium.org/1628333003
Diffstat (limited to 'gyp/opts.gyp')
-rw-r--r--gyp/opts.gyp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gyp/opts.gyp b/gyp/opts.gyp
index 396a37e3ef..ae4b294fdb 100644
--- a/gyp/opts.gyp
+++ b/gyp/opts.gyp
@@ -149,7 +149,7 @@
],
'sources': [ '<@(avx_sources)' ],
'msvs_settings': { 'VCCLCompilerTool': { 'EnableEnhancedInstructionSet': '3' } },
- 'xcode_settings': { 'OTHER_CFLAGS': [ '-mavx' ] },
+ 'xcode_settings': { 'OTHER_CPLUSPLUSFLAGS': [ '-mavx' ] },
'conditions': [
[ 'not skia_android_framework', { 'cflags': [ '-mavx' ] }],
],
@@ -167,7 +167,7 @@
],
'sources': [ '<@(avx2_sources)' ],
'msvs_settings': { 'VCCLCompilerTool': { 'EnableEnhancedInstructionSet': '5' } },
- 'xcode_settings': { 'OTHER_CFLAGS': [ '-mavx2' ] },
+ 'xcode_settings': { 'OTHER_CPLUSPLUSFLAGS': [ '-mavx2' ] },
'conditions': [
[ 'not skia_android_framework', { 'cflags': [ '-mavx2' ] }],
],