rpi-userland: add aarch64 build

This commit is contained in:
Duncaen 2019-11-29 00:23:12 +01:00
parent d7e4646219
commit 9512d00422
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
1 changed files with 5 additions and 1 deletions

View File

@ -17,7 +17,7 @@ distfiles="https://github.com/raspberrypi/userland/archive/${_githash}.tar.gz"
checksum=f75b0e4f992313c6248c6e4e2229d59a49dd4153d67f23a05953dfc059b06e7f
LDFLAGS="-Wl,--no-as-needed"
archs="armv6l* armv7l*"
archs="armv6l* armv7l* aarch64*"
shlib_provides="
libEGL.so
@ -42,6 +42,10 @@ shlib_provides="
libvcos.so
libvcsm.so"
case "$XBPS_TARGET_MACHINE" in
aarch64*) configure_args+=" -DARM64=on" ;;
esac
pre_configure() {
for f in $(find ${wrksrc} -type f -name CMakeLists.txt); do
sed -i 's,-Werror,,g' $f