From c00e78ae9ea4a44ef7b2e73b0ddf6a6d67b582e3 Mon Sep 17 00:00:00 2001 From: Dan Theisen Date: Fri, 8 Jun 2018 22:55:10 -0700 Subject: user/libvpx: fix build on armv7 --- user/libvpx/APKBUILD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'user/libvpx') diff --git a/user/libvpx/APKBUILD b/user/libvpx/APKBUILD index 27de30e06..582b4983a 100644 --- a/user/libvpx/APKBUILD +++ b/user/libvpx/APKBUILD @@ -15,9 +15,12 @@ source="https://storage.googleapis.com/downloads.webmproject.org/releases/webm/$ builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" - # build fix for arm - export CROSS=" " + # fix build for armv7 + case "$CTARGET" in + armv7-*-*-*eabihf) export CFLAGS="-mfloat-abi=hard";; + esac bash ./configure \ + --extra-cflags="$CFLAGS" \ --enable-pic \ --enable-libs \ --enable-runtime-cpu-detect \ -- cgit v1.2.3-70-g09d2