nautilus-sendto: fix gcc6 build
This commit is contained in:
parent
f5297de7cd
commit
5e52610290
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'nautilus-sendto'
|
||||
pkgname=nautilus-sendto
|
||||
version=3.8.2
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-schemas-compile"
|
||||
# XXX: add pidgin and gajim depends for plugins to work.
|
||||
|
@ -18,3 +18,9 @@ build_options="gir"
|
|||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="gir"
|
||||
fi
|
||||
|
||||
_gccver=$(gcc --version | awk '/^gcc \(GCC\)/ { print $3 }')
|
||||
if [ "${_gccver%%.*}" -gt 5 ]; then
|
||||
CFLAGS="-Wno-error=format-nonliteral"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue