mg: unbreak glibc builds.

This commit is contained in:
Juan RP 2016-01-10 08:29:41 +01:00
parent cc46368363
commit 8eea035a81

View file

@ -10,8 +10,10 @@ license="Public Domain"
distfiles="$homepage/mg-$version.tar.gz"
checksum=94197ae03333c5da519e1737bfd28c60dcdc4ef0714a8e5948e9893a3aabd4d2
CFLAGS="-DTCSASOFT=0"
case "$XBPS_TARGET_MACHINE" in
*-musl) CFLAGS="-DREG_STARTEND=0 -DTCSASOFT=0";;
*-musl) CFLAGS+=" -DREG_STARTEND=0";;
esac
do_configure() {