From e5f6a9d2cb38d83870e2e76c0c3e457caa37519e Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Fri, 8 May 2015 22:34:06 -0400 Subject: [PATCH] Fix compiling with clang on Travis, again --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 2fba5b6..26fcb67 100644 --- a/Makefile +++ b/Makefile @@ -41,6 +41,10 @@ ifeq ($(OS),Windows_NT) LDLIBS += -L/lib -lwsock32 endif +ifeq ($(CXX),clang++) + CXX += -std=c++11 +endif + CXX += -Iinclude -I. -I/usr/local/include ifdef $(DEV)