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:
parent
e468f08078
commit
be86a6d968
@ -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': [
|
||||
|
Loading…
x
Reference in New Issue
Block a user