gtkimageview: fix gcc7 build

This commit is contained in:
Tony Theodore 2018-08-13 23:01:03 +10:00
parent e511af5bc3
commit bb20f42b47
1 changed files with 5 additions and 7 deletions

View File

@ -26,16 +26,14 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
cd '$(BUILD_DIR)' && $(SOURCE_DIR)/configure \
$(MXE_CONFIGURE_OPTS) \
--disable-gtk-doc \
GLIB_GENMARSHAL='$(PREFIX)/$(TARGET)/bin/glib-genmarshal' \
GLIB_MKENUMS='$(PREFIX)/$(TARGET)/bin/glib-mkenums' \
CFLAGS='-Wno-error=deprecated-declarations -std=c99'
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
CFLAGS='-Wno-error=deprecated-declarations -Wno-error=misleading-indentation -std=c99'
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(BUILD_DIR)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
'$(TARGET)-gcc' \
-W -Wall -Werror -ansi \