anjuta: fix gcc6 musl build

This commit is contained in:
Juergen Buchmueller 2016-10-04 00:03:39 +02:00
parent ef048c1727
commit 5ca00fc84c

View file

@ -30,7 +30,7 @@ CFLAGS="-O2 -Wno-deprecated-declarations"
_gccver=$(gcc --version | awk '/^gcc \(GCC\)/ { print $3 }')
if [ "${_gccver%%.*}" -gt 5 ]; then
CFLAGS+=" -Wno-error=format-nonliteral -Wno-error=format-y2k"
CFLAGS+=" -Wno-error=format-nonliteral -Wno-error=format-y2k -Wno-error=missing-include-dirs"
fi
CXXFLAGS="${CFLAGS}"