summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/libvpx/APKBUILD7
1 files changed, 5 insertions, 2 deletions
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 \