commit | 9d92657d2ee8ab69da0e227c7fb81f04fe518a72 | [log] [tgz] |
---|---|---|
author | Ben Murdoch <benm@google.com> | Mon Jul 28 19:35:10 2014 +0100 |
committer | Ben Murdoch <benm@google.com> | Mon Jul 28 18:37:47 2014 +0000 |
tree | 9a02086c0d107ce6fd19ee71f6eb413f7377e11d | |
parent | c2558fcfe54ee115358df1eea90213c40802ed4b [diff] |
Fix x86 build with upstream cherry picks. Cherry pick https://gerrit.chromium.org/gerrit/#/c/70494 and https://codereview.chromium.org/355763002/ and regenerate makefiles. Use lrand48 on Android When building x86 assembly use lrand48 instead of the undocumented inlined _rand function. Android now supports rand() https://android-review.googlesource.com/97731 but only for new versions. Original workaround: https://gerrit.chromium.org/gerrit/15744 and Fix Android x86 builds of libvpx Android previously didn't define rand(). We had a workaround which used the inline _rand, but they added rand() to android and removed _rand. So now we call lrand48() which is available in all versions. BUG=388490 TBR=tomfinegan@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=279590 Bug: 15598056 Change-Id: Ic36edd9e3c96912b3e87c586490d052415f3c7cf