From 208b5110aeb7a23e788264454cafd6c3ee87633e Mon Sep 17 00:00:00 2001 From: Robin Mills Date: Sun, 21 Aug 2016 22:54:13 +0000 Subject: [PATCH] #1207 Don't build mt-test by default. It requires C++11. G++ 5.3 will not compile #include because AutoPtr is deprecated. --- samples/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/samples/Makefile b/samples/Makefile index 245c8207..3ddeb8bb 100644 --- a/samples/Makefile +++ b/samples/Makefile @@ -87,7 +87,6 @@ BINSRC = addmoddel.cpp \ OTHERSRC = exiv2json.cpp \ geotag.cpp \ metacopy.cpp \ - mt-test.cpp \ path-test.cpp \ toexv.cpp @@ -184,7 +183,7 @@ exiv2json: %: %.cpp Jzon.o # mt-test requires C++11 mt-test: %: %.cpp - $(COMPILE.cc) -std=c++11 -stdlib=libc++ -o $@.o $< + $(COMPILE.cc) -std=c++11 -o $@.o $< @$(MAKEDEPEND) @$(POSTDEPEND) $(LIBTOOL) --mode=link $(LINK.cc) $@.o -o ../bin/$@