Commit ba4e6fe3 authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf

contrib: vpx: fix x86 android build with encoders

__ANDROID__ doesn't seem to be defined when built from the android yasm

(cherry picked from commit c2ddfa5e)
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 35db70ce
......@@ -64,3 +64,13 @@ cpu-features.c. Additionally, we don't need to link with pthread.
--- libvpx/vpx_ports/x86_abi_support.asm.orig 2017-12-22 14:13:01.624421364 +0100
+++ libvpx/vpx_ports/x86_abi_support.asm 2017-12-22 14:12:32.152908813 +0100
@@ -393,6 +393,7 @@
; On Android platforms use lrand48 when building postproc routines. Prior to L
; rand() was not available.
+%define __ANDROID__
%ifdef __ANDROID__
extern sym(lrand48)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment