rpi-userland: add aarch64 build
This commit is contained in:
parent
d7e4646219
commit
9512d00422
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue