From 9512d00422ef279a1b101c33f00a8aec2a3e2962 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Fri, 29 Nov 2019 00:23:12 +0100 Subject: [PATCH] rpi-userland: add aarch64 build --- srcpkgs/rpi-userland/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/rpi-userland/template b/srcpkgs/rpi-userland/template index 17ff48497fb..817003d4fc5 100644 --- a/srcpkgs/rpi-userland/template +++ b/srcpkgs/rpi-userland/template @@ -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