diff options
author | Tony Theodore <tonyt@logyst.com> | 2018-08-13 13:01:03 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2018-08-15 02:57:09 (GMT) |
commit | bb20f42b4761cfb0b8871d582168ed8ee2dc5093 (patch) | |
tree | 52e4752ada2f683b548bf50a7e8cbec512c6566a | |
parent | e511af5bc38a1bd25330dcf0fa9367f306f5d86d (diff) | |
download | mxe-bb20f42b4761cfb0b8871d582168ed8ee2dc5093.zip mxe-bb20f42b4761cfb0b8871d582168ed8ee2dc5093.tar.gz mxe-bb20f42b4761cfb0b8871d582168ed8ee2dc5093.tar.bz2 |
gtkimageview: fix gcc7 build
-rw-r--r-- | src/gtkimageview.mk | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/gtkimageview.mk b/src/gtkimageview.mk index 77cb38a..d102b22 100644 --- a/src/gtkimageview.mk +++ b/src/gtkimageview.mk @@ -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 \ |