Commit 17d2f3b1 authored by machenbach's avatar machenbach Committed by Commit bot

[test] Fix no-exceptions cc flag.

BUG=chromium:425187
LOG=n

Review URL: https://codereview.chromium.org/1154833002

Cr-Commit-Position: refs/heads/master@{#28599}
parent 4e6ed6b3
...@@ -338,7 +338,6 @@ ...@@ -338,7 +338,6 @@
'-fPIC', '-fPIC',
], ],
'cflags!': [ 'cflags!': [
'-fno-exceptions',
'-fomit-frame-pointer', '-fomit-frame-pointer',
], ],
'ldflags': [ 'ldflags': [
...@@ -387,12 +386,16 @@ ...@@ -387,12 +386,16 @@
'-Wno-unused-parameter', '-Wno-unused-parameter',
'-Wno-long-long', '-Wno-long-long',
'-pthread', '-pthread',
'-fno-exceptions',
'-pedantic', '-pedantic',
# Don't warn about the "struct foo f = {0};" initialization pattern. # Don't warn about the "struct foo f = {0};" initialization pattern.
'-Wno-missing-field-initializers', '-Wno-missing-field-initializers',
], ],
'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++0x' ], 'cflags_cc': [
'-Wnon-virtual-dtor',
'-fno-exceptions',
'-fno-rtti',
'-std=gnu++0x',
],
'ldflags': [ '-pthread', ], 'ldflags': [ '-pthread', ],
'conditions': [ 'conditions': [
[ 'clang==1 and (v8_target_arch=="x64" or v8_target_arch=="arm64")', { [ 'clang==1 and (v8_target_arch=="x64" or v8_target_arch=="arm64")', {
...@@ -418,11 +421,15 @@ ...@@ -418,11 +421,15 @@
'-Wall', '-Wall',
'<(werror)', '<(werror)',
'-Wno-unused-parameter', '-Wno-unused-parameter',
'-fno-exceptions',
# Don't warn about the "struct foo f = {0};" initialization pattern. # Don't warn about the "struct foo f = {0};" initialization pattern.
'-Wno-missing-field-initializers', '-Wno-missing-field-initializers',
], ],
'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++0x' ], 'cflags_cc': [
'-Wnon-virtual-dtor',
'-fno-exceptions',
'-fno-rtti',
'-std=gnu++0x',
],
'conditions': [ 'conditions': [
[ 'visibility=="hidden"', { [ 'visibility=="hidden"', {
'cflags': [ '-fvisibility=hidden' ], 'cflags': [ '-fvisibility=hidden' ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment