Index: third_party/opus/opus.gyp |
diff --git a/third_party/opus/opus.gyp b/third_party/opus/opus.gyp |
index 43b85481287d11740042b7608cba4d77d0d67fe0..e6c4bcf1b6650754bf901a22b820bde8e64c597c 100644 |
--- a/third_party/opus/opus.gyp |
+++ b/third_party/opus/opus.gyp |
@@ -59,6 +59,11 @@ |
4334, # Disable 32-bit shift warning in src/opus_encoder.c . |
], |
}], |
+ ['os_posix==1', { |
+ 'link_settings': { |
+ 'libraries': [ '-lm' ], |
+ }, |
+ }], |
['os_posix==1 and OS!="android"', { |
# Suppress a warning given by opus_decoder.c that tells us |
# optimizations are turned off. |
@@ -134,6 +139,9 @@ |
'-llog', |
], |
}, |
+ }], |
+ ['clang==1', { |
+ 'cflags': [ '-Wno-absolute-value' ], |
}] |
], |
'sources': [ |