x86_abi_support: set LIBVPX_RAND w/vp9-postproc
authorJames Zern <jzern@google.com>
Wed, 10 Dec 2014 01:24:49 +0000 (17:24 -0800)
committerJames Zern <jzern@google.com>
Fri, 12 Dec 2014 19:07:29 +0000 (11:07 -0800)
set LIBVPX_RAND with --enable-vp9-postproc, previously only the vp8
config was checked. this fixes the build with --disable-postproc.

Change-Id: Ia61baded6aa0e44d6443ae4a3c85915f1054f053

vpx_ports/x86_abi_support.asm

index 3814ef4..c94b76a 100644 (file)
@@ -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