nautilus: fix gcc6 build
This commit is contained in:
parent
144664d7f4
commit
f5297de7cd
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'nautilus'
|
||||
pkgname=nautilus
|
||||
version=3.18.5
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-update-mimedb --disable-debug
|
||||
--disable-schemas-compile --disable-nst-extension $(vopt_enable gir introspection)"
|
||||
|
@ -21,6 +21,11 @@ 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
|
||||
|
||||
libnautilus_package() {
|
||||
short_desc+=" - shared libraries"
|
||||
pkg_install() {
|
||||
|
|
Loading…
Reference in a new issue