Index: third_party/usrsctp/usrsctp.gyp |
diff --git a/third_party/usrsctp/usrsctp.gyp b/third_party/usrsctp/usrsctp.gyp |
index 4f82ff803abcb55adbe6cb65be0e1449f02eafac..b7a044e9e5cc1003b5f99438425583376734b238 100644 |
--- a/third_party/usrsctp/usrsctp.gyp |
+++ b/third_party/usrsctp/usrsctp.gyp |
@@ -120,6 +120,12 @@ |
'usrsctplib/user_uma.h', |
'usrsctplib/usrsctp.h' |
], # sources |
+ 'variables': { |
+ 'clang_warning_flags': [ |
+ # atomic_init in user_atomic.h is a static function in a header. |
+ '-Wno-unused-function', |
+ ], |
+ }, |
'conditions': [ |
['OS=="linux" or OS=="android"', { |
'defines': [ |