Merge pull request #1609 from LuaAndC/gcc5-gtkmm

gtkmm2, gtkmm3: fix build for GCC 5.4.0
This commit is contained in:
Boris Nagaev 2016-12-24 06:03:56 -08:00 committed by GitHub
commit 9984e4c9d4
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ define $(PKG)_BUILD
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= doc_install='# DISABLED: doc-install.pl'
'$(TARGET)-g++' \
-W -Wall -Werror -pedantic -std=c++0x \
-W -Wall -Wno-deprecated-declarations -Werror -pedantic -std=c++11 \
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-gtkmm2.exe' \
`'$(TARGET)-pkg-config' gtkmm-2.4 --cflags --libs`
endef

View File

@ -30,7 +30,7 @@ define $(PKG)_BUILD
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= doc_install='# DISABLED: doc-install.pl'
'$(TARGET)-g++' \
-W -Wall -Werror -pedantic -std=c++0x \
-W -Wall -Wno-deprecated-declarations -Werror -pedantic -std=c++11 \
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-gtkmm3.exe' \
`'$(TARGET)-pkg-config' gtkmm-3.0 --cflags --libs`
endef