libGL: fix gcc7 build
This commit is contained in:
parent
3c16e527fc
commit
caba8e3b15
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue