Only add Mac compiler warning for clang, not gcc.
BUG= TEST= Review URL: https://webrtc-codereview.appspot.com/676007 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2466 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
1115fdbe69
commit
efe20b39db
12
third_party/libvpx/libvpx.gyp
vendored
12
third_party/libvpx/libvpx.gyp
vendored
@ -10,15 +10,19 @@
|
||||
# The target_defaults block is unique to the WebRTC libvpx.gyp.
|
||||
'target_defaults': {
|
||||
'conditions': [
|
||||
['OS=="mac"', {
|
||||
['clang == 1', {
|
||||
'xcode_settings': {
|
||||
'WARNING_CFLAGS': [
|
||||
'-Wno-implicit-function-declaration',
|
||||
# TODO(andrew): this one should be fixed upstream.
|
||||
'-Wno-parentheses-equality',
|
||||
# libvpx heavily relies on implicit enum casting.
|
||||
'-Wno-conversion',
|
||||
# libvpx does `if ((a == b))` in some places.
|
||||
'-Wno-parentheses-equality',
|
||||
],
|
||||
},
|
||||
'cflags': [
|
||||
'-Wno-conversion',
|
||||
'-Wno-parentheses-equality',
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user