diff options
author | Carlo Landmeter <clandmeter@alpinelinux.org> | 2018-11-07 11:36:32 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@alpinelinux.org> | 2018-11-07 11:37:00 +0000 |
commit | 53391b2bbe0618a0064fd3a33aff44d02788b1d8 (patch) | |
tree | 560e1b6ebfa275d3e7dc83e24ead29e7e4525c0b | |
parent | f750eabb440e7ccf8d34c868e833d5caa8738287 (diff) | |
download | aports-53391b2bbe0618a0064fd3a33aff44d02788b1d8.tar.bz2 aports-53391b2bbe0618a0064fd3a33aff44d02788b1d8.tar.xz |
main/libvpx: fix armv7 build
/usr/lib/gcc/armv7-alpine-linux-musleabihf/8.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld:
error: /tmp/vpx-conf-13729-20013.x uses VFP register arguments,
/tmp/vpx-conf-13729-20013.o does not
-rw-r--r-- | main/libvpx/APKBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/main/libvpx/APKBUILD b/main/libvpx/APKBUILD index de9a1afe83..4929524b0e 100644 --- a/main/libvpx/APKBUILD +++ b/main/libvpx/APKBUILD @@ -16,6 +16,8 @@ build() { cd "$builddir" # build fix for arm export CROSS=" " + #TODO this is a hack to get build working on armv7 + [ "$CARCH" = "armv7" ] && _target="--target=generic-gnu" bash ./configure \ --enable-pic \ --enable-libs \ @@ -24,7 +26,8 @@ build() { --enable-vp9 \ --enable-shared \ --disable-install-srcs \ - --enable-postproc + --enable-postproc \ + $_target make } |