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}
diff --git a/webrtc/webrtc_examples.gyp b/webrtc/webrtc_examples.gyp
index cea4969..9a03d53 100755
--- a/webrtc/webrtc_examples.gyp
+++ b/webrtc/webrtc_examples.gyp
@@ -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': {