summaryrefslogtreecommitdiff
path: root/vpx_ports
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2014-12-09 17:24:49 -0800
committerJames Zern <jzern@google.com>2014-12-12 11:07:29 -0800
commitd5484f109ecbb17e8d37f6ec8dd9c0aace5d6ec7 (patch)
tree4b80e238a30745b2b180a18bedbb1026b02df29f /vpx_ports
parent3e0793b80bfe94faf9b31f0f14c339c00ed78282 (diff)
downloadlibvpx-d5484f109ecbb17e8d37f6ec8dd9c0aace5d6ec7.tar
libvpx-d5484f109ecbb17e8d37f6ec8dd9c0aace5d6ec7.tar.gz
libvpx-d5484f109ecbb17e8d37f6ec8dd9c0aace5d6ec7.tar.bz2
libvpx-d5484f109ecbb17e8d37f6ec8dd9c0aace5d6ec7.zip
x86_abi_support: set LIBVPX_RAND w/vp9-postproc
set LIBVPX_RAND with --enable-vp9-postproc, previously only the vp8 config was checked. this fixes the build with --disable-postproc. Change-Id: Ia61baded6aa0e44d6443ae4a3c85915f1054f053
Diffstat (limited to 'vpx_ports')
-rw-r--r--vpx_ports/x86_abi_support.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/vpx_ports/x86_abi_support.asm b/vpx_ports/x86_abi_support.asm
index 3814ef443..c94b76a06 100644
--- a/vpx_ports/x86_abi_support.asm
+++ b/vpx_ports/x86_abi_support.asm
@@ -395,7 +395,7 @@ section .text
; On Android platforms use lrand48 when building postproc routines. Prior to L
; rand() was not available.
-%if CONFIG_POSTPROC=1
+%if CONFIG_POSTPROC=1 || CONFIG_VP9_POSTPROC=1
%ifdef __ANDROID__
extern sym(lrand48)
%define LIBVPX_RAND lrand48
@@ -403,4 +403,4 @@ extern sym(lrand48)
extern sym(rand)
%define LIBVPX_RAND rand
%endif
-%endif ; CONFIG_POSTPROC
+%endif ; CONFIG_POSTPROC || CONFIG_VP9_POSTPROC