rpi-userland: add aarch64 build
This commit is contained in:
parent
d7e4646219
commit
9512d00422
1 changed files with 5 additions and 1 deletions
|
@ -17,7 +17,7 @@ distfiles="https://github.com/raspberrypi/userland/archive/${_githash}.tar.gz"
|
||||||
checksum=f75b0e4f992313c6248c6e4e2229d59a49dd4153d67f23a05953dfc059b06e7f
|
checksum=f75b0e4f992313c6248c6e4e2229d59a49dd4153d67f23a05953dfc059b06e7f
|
||||||
|
|
||||||
LDFLAGS="-Wl,--no-as-needed"
|
LDFLAGS="-Wl,--no-as-needed"
|
||||||
archs="armv6l* armv7l*"
|
archs="armv6l* armv7l* aarch64*"
|
||||||
|
|
||||||
shlib_provides="
|
shlib_provides="
|
||||||
libEGL.so
|
libEGL.so
|
||||||
|
@ -42,6 +42,10 @@ shlib_provides="
|
||||||
libvcos.so
|
libvcos.so
|
||||||
libvcsm.so"
|
libvcsm.so"
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
aarch64*) configure_args+=" -DARM64=on" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
for f in $(find ${wrksrc} -type f -name CMakeLists.txt); do
|
for f in $(find ${wrksrc} -type f -name CMakeLists.txt); do
|
||||||
sed -i 's,-Werror,,g' $f
|
sed -i 's,-Werror,,g' $f
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue