r14326 added '-Wno-unused-result' to 'WARNING_CFLAGS!' which removes the
flag. This change moves it to WARNING_CFLAGS, and makes it work for both iOS and mac. BUG=webrtc:6396 NOTRY=True NOPRESUBMIT=True NOTREECHECKS=True Review-Url: https://codereview.webrtc.org/2369803002 Cr-Commit-Position: refs/heads/master@{#14378}
This commit is contained in:
parent
c59bf0415a
commit
20684110fd
@ -373,10 +373,7 @@
|
||||
# https://code.google.com/p/webrtc/issues/detail?id=4695
|
||||
'WARNING_CFLAGS!': [
|
||||
'-Wpartial-availability',
|
||||
# Hide the warning for SecRandomCopyBytes(), till we update
|
||||
# to upstream.
|
||||
# https://bugs.chromium.org/p/webrtc/issues/detail?id=6396
|
||||
'-Wno-unused-result'],
|
||||
],
|
||||
},
|
||||
}],
|
||||
],
|
||||
@ -390,6 +387,10 @@
|
||||
'WARNING_CFLAGS': [
|
||||
'-Wno-deprecated-declarations',
|
||||
'-Wno-nonnull',
|
||||
# Hide the warning for SecRandomCopyBytes(), till we update
|
||||
# to upstream.
|
||||
# https://bugs.chromium.org/p/webrtc/issues/detail?id=6396
|
||||
'-Wno-unused-result',
|
||||
],
|
||||
},
|
||||
'link_settings': {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user