From 74927e40a6efda1b13cb01a2d22cee825afdb838 Mon Sep 17 00:00:00 2001 From: Hobo Chen Date: Fri, 28 Apr 2017 19:25:27 +0800 Subject: [PATCH] set default to c++11, avoid compile failure --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 01db1b5..f219581 100755 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ include_dir=include src_dir=src bin_dir=. test_dir=test -thulac=g++ -O3 -march=native -I $(include_dir) +thulac=g++ -std=c++11 -O3 -march=native -I $(include_dir) # all: $(bin_dir)/thulac_test $(bin_dir)/train_c $(bin_dir)/thulac all: $(bin_dir)/thulac $(bin_dir)/train_c $(bin_dir)/thulac_test