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