libGL: fix gcc7 build

This commit is contained in:
Jürgen Buchmüller 2017-05-26 10:56:12 +02:00
parent 3c16e527fc
commit caba8e3b15
1 changed files with 9 additions and 0 deletions

View File

@ -59,6 +59,15 @@ armv[67]l*)
configure_args+=" --disable-xa" configure_args+=" --disable-xa"
;; ;;
esac esac
if [ "$XBPS_GCC_VERSION_MAJOR" -ge 7 ]; then
case "$XBPS_TARGET_MACHINE" in
armv6*)
# Enable MISSING_64BIT_ATOMICS for armv6*
CFLAGS+=" -DMISSING_64BIT_ATOMICS=1"
CXXFLAGS+=" -DMISSING_64BIT_ATOMICS=1"
;;
esac
fi
# -devel must be the last one for proper order. # -devel must be the last one for proper order.
subpackages+=" MesaLib-devel" subpackages+=" MesaLib-devel"