grilo-plugins: fix gcc6 build
This commit is contained in:
parent
927ee4ac6d
commit
2435aafed9
1 changed files with 5 additions and 0 deletions
|
@ -17,3 +17,8 @@ license="LGPL-2.1"
|
|||
homepage="http://live.gnome.org/Grilo"
|
||||
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
||||
checksum=337669098cddf64a84fa9398aa1d7f994fea84bc5f7f1b348e1288f135713781
|
||||
|
||||
_gccver=$(gcc --version | awk '/^gcc \(GCC\)/ { print $3 }')
|
||||
if [ "${_gccver%%.*}" -gt 5 ]; then
|
||||
CXXFLAGS="-Wno-error=format-nonliteral"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue