| Index: third_party/mesa/mesa.gyp
|
| diff --git a/third_party/mesa/mesa.gyp b/third_party/mesa/mesa.gyp
|
| index 1bd999d5a75377c8639df77e929701b2794099f0..7edfc16a24ef44883aa1e9e024ff61b0296fa32d 100644
|
| --- a/third_party/mesa/mesa.gyp
|
| +++ b/third_party/mesa/mesa.gyp
|
| @@ -557,6 +557,14 @@
|
| '-Wstring-conversion',
|
| ],
|
| }],
|
| + ['OS=="android" and clang==0', {
|
| + # Disable sincos() optimization to avoid a linker error
|
| + # since Android's math library doesn't have sincos().
|
| + # Either -fno-builtin-sin or -fno-builtin-cos works.
|
| + 'cflags': [
|
| + '-fno-builtin-sin',
|
| + ],
|
| + }],
|
| ],
|
| },
|
| # Building this target will hide the native OpenGL shared library and
|
|
|