Compile c++ programs with -std=gnu++11 by default
authorKevin Klues <klueska@cs.berkeley.edu>
Tue, 23 Dec 2014 20:49:21 +0000 (12:49 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 31 Dec 2014 18:03:09 +0000 (13:03 -0500)
tests/Makefile

index cb4f9d2..6181769 100644 (file)
@@ -6,7 +6,7 @@ all:
 TESTS_DIR = tests
 
 CFLAGS_TESTS += $(CFLAGS_USER) -g
-TESTS_CXXFLAGS += $(CXXFLAGS_USER) -g
+TESTS_CXXFLAGS += $(CXXFLAGS_USER) -g -std=gnu++11
 
 TESTS_LDLIBS := -lpthread -lbenchutil -lm -liplib -lndb