diff --git a/srcpkgs/libglvnd/template b/srcpkgs/libglvnd/template index 0c2288b0f6b..ce7b0fe9032 100644 --- a/srcpkgs/libglvnd/template +++ b/srcpkgs/libglvnd/template @@ -21,6 +21,10 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then configure_args="-Dtls=disabled" fi +case "$XBPS_TARGET_MACHINE" in + arm*) configure_args+=" -Dasm=disabled";; +esac + post_install() { $XBPS_FETCH_CMD "https://git.archlinux.org/svntogit/packages.git/plain/trunk/LICENSE?h=packages/libglvnd>LICENSE" vlicense LICENSE