anjuta: fix gcc6 musl build
This commit is contained in:
parent
ef048c1727
commit
5ca00fc84c
|
@ -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}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user