diff options
author | Dan Theisen <djt@hxx.in> | 2018-06-08 22:55:10 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-06-08 22:55:10 -0700 |
commit | c00e78ae9ea4a44ef7b2e73b0ddf6a6d67b582e3 (patch) | |
tree | c7587e00d8b4f6c67607708afea9c9002321c4b5 /user/libvpx/APKBUILD | |
parent | 8d6d3c2e34f711fec7e6e99aeaef1698647fdfdb (diff) | |
download | packages-c00e78ae9ea4a44ef7b2e73b0ddf6a6d67b582e3.tar.gz packages-c00e78ae9ea4a44ef7b2e73b0ddf6a6d67b582e3.tar.bz2 packages-c00e78ae9ea4a44ef7b2e73b0ddf6a6d67b582e3.tar.xz packages-c00e78ae9ea4a44ef7b2e73b0ddf6a6d67b582e3.zip |
user/libvpx: fix build on armv7
Diffstat (limited to 'user/libvpx/APKBUILD')
-rw-r--r-- | user/libvpx/APKBUILD | 7 |
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 \ |