package gtkimageview: suppress warnings more selectively

This commit is contained in:
Niels Kristian Bech Jensen 2013-03-24 06:58:36 +11:00 committed by Tony Theodore
parent 4ec70adaed
commit e16ff720d8
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,14 @@
This file is part of MXE.
See index.html for further information.
--- gtkimageview-1.6.4.orig/configure 2009-04-05 22:04:32.000000000 +0200
+++ gtkimageview-1.6.4/configure 2013-03-23 13:59:25.017941993 +0100
@@ -20740,7 +20740,7 @@
######################################################################
##### Twiddle CFLAGS #################################################
######################################################################
-CFLAGS="${CFLAGS} -Wall -Werror -std=c99 -Wmissing-prototypes"
+CFLAGS="${CFLAGS} -Wall -Werror -Wno-error=unused-local-typedefs -std=c99 -Wmissing-prototypes"
######################################################################

View File

@ -17,7 +17,6 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
$(SED) -i 's,-Werror,,g' $(1)/configure
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--disable-shared \