anjuta: fix gcc6 musl build
This commit is contained in:
parent
ef048c1727
commit
5ca00fc84c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue