about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-03-20T16·25-0500
committerWill Dietz <w@wdtz.org>2018-03-20T16·33-0500
commitdc99ea4483e8500d8ffe3015abf3a891d3d19559 (patch)
treef622fbba1d2d3c5d31d41c93ed627d7ec29fbb4b
parent21ebf6a16028291914bd14b0e5463b020dc7affa (diff)
ask autotools for c++14 support flags, not c++11; don't override later
-rw-r--r--Makefile2
-rw-r--r--configure.ac2
-rw-r--r--perl/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c47603731ddc..bf709abe4a6c 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ makefiles = \
   tests/local.mk \
   tests/plugins/local.mk
 
-GLOBAL_CXXFLAGS += -std=c++14 -g -Wall -include config.h
+GLOBAL_CXXFLAGS += -g -Wall -include config.h
 
 -include Makefile.config
 
diff --git a/configure.ac b/configure.ac
index 54322d463ae7..7177c8914434 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,7 +62,7 @@ CXXFLAGS=
 AC_PROG_CC
 AC_PROG_CXX
 AC_PROG_CPP
-AX_CXX_COMPILE_STDCXX_11
+AX_CXX_COMPILE_STDCXX_14
 
 
 # Use 64-bit file system calls so that we can support files > 2 GiB.
diff --git a/perl/Makefile b/perl/Makefile
index 684a37e8121f..284c75022493 100644
--- a/perl/Makefile
+++ b/perl/Makefile
@@ -1,6 +1,6 @@
 makefiles = local.mk
 
-GLOBAL_CXXFLAGS += -std=c++14 -g -Wall
+GLOBAL_CXXFLAGS += -g -Wall
 
 -include Makefile.config