diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2016-10-14 20:29:35 (GMT) |
---|---|---|
committer | Boris Nagaev <bnagaev@gmail.com> | 2016-12-24 13:31:41 (GMT) |
commit | a15cbc7b9e40d68acd378fa07720db5ef005f62f (patch) | |
tree | 3798b00dea7cede3ded8e039fca9963e003ab106 | |
parent | 9fb153c4f164b63de77c3140edb8bbefd5d6b340 (diff) | |
download | mxe-a15cbc7b9e40d68acd378fa07720db5ef005f62f.zip mxe-a15cbc7b9e40d68acd378fa07720db5ef005f62f.tar.gz mxe-a15cbc7b9e40d68acd378fa07720db5ef005f62f.tar.bz2 |
gtkmm2, gtkmm3: fix build for GCC 5.4.0
Auto_ptr make GCC 5.4.0 angry.
-rw-r--r-- | src/gtkmm2.mk | 2 | ||||
-rw-r--r-- | src/gtkmm3.mk | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gtkmm2.mk b/src/gtkmm2.mk index b1a3d70..32d39a7 100644 --- a/src/gtkmm2.mk +++ b/src/gtkmm2.mk @@ -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 diff --git a/src/gtkmm3.mk b/src/gtkmm3.mk index 235e679..8660a90 100644 --- a/src/gtkmm3.mk +++ b/src/gtkmm3.mk @@ -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 |