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