Skip to content
Snippets Groups Projects
Commit c00e78ae authored by Dan Theisen's avatar Dan Theisen
Browse files

user/libvpx: fix build on armv7

parent 8d6d3c2e
No related branches found
No related tags found
No related merge requests found
...@@ -15,9 +15,12 @@ source="https://storage.googleapis.com/downloads.webmproject.org/releases/webm/$ ...@@ -15,9 +15,12 @@ source="https://storage.googleapis.com/downloads.webmproject.org/releases/webm/$
builddir="$srcdir"/$pkgname-$pkgver builddir="$srcdir"/$pkgname-$pkgver
build() { build() {
cd "$builddir" cd "$builddir"
# build fix for arm # fix build for armv7
export CROSS=" " case "$CTARGET" in
armv7-*-*-*eabihf) export CFLAGS="-mfloat-abi=hard";;
esac
bash ./configure \ bash ./configure \
--extra-cflags="$CFLAGS" \
--enable-pic \ --enable-pic \
--enable-libs \ --enable-libs \
--enable-runtime-cpu-detect \ --enable-runtime-cpu-detect \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment