Explicitly disable sincos optimization on Android.

I uploaded this CL before, now it turned out that although it's an
issue in compiler, but it will not be solved in short term, we have
to work around in our code termporally.

We can chat in person if you want to know more details.

BUG=
TEST=trybots
Review URL: https://webrtc-codereview.appspot.com/1026006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3358 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
leozwang@webrtc.org 2013-01-10 22:15:51 +00:00
parent e468f08078
commit be86a6d968

View File

@ -236,6 +236,14 @@
'WEBRTC_CLOCK_TYPE_REALTIME',
'WEBRTC_THREAD_RR',
],
# The Android NDK doesn't provide optimized versions of these
# functions. Ensure they are disabled for all compilers.
'cflags': [
'-fno-builtin-cos',
'-fno-builtin-sin',
'-fno-builtin-cosf',
'-fno-builtin-sinf',
],
'conditions': [
['enable_android_opensl==1', {
'defines': [