mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
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 }')
|
_gccver=$(gcc --version | awk '/^gcc \(GCC\)/ { print $3 }')
|
||||||
if [ "${_gccver%%.*}" -gt 5 ]; then
|
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
|
fi
|
||||||
CXXFLAGS="${CFLAGS}"
|
CXXFLAGS="${CFLAGS}"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue