aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2017-02-22 13:33:22 -0500
committerCory Fields <cory-nospam-@coryfields.com>2017-02-22 13:37:35 -0500
commit9829c54de2725037ee0702306cbaa99fc9aa1826 (patch)
tree34159e34bfbc44151210f13675f088a748802ea8 /configure.ac
parent5f0556d0326bf6f4d34f7e8b9ada7bbb09cb1df2 (diff)
build: force a c++ standard to be specified
Newer compilers may switch to newer standards by default. For example, gcc6 uses std=gnu++14 by default.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 78129fb202..370d916898 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,7 +55,7 @@ case $host in
;;
esac
dnl Require C++11 compiler (no GNU extensions)
-AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory])
+AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory], [nodefault])
dnl Check if -latomic is required for <std::atomic>
CHECK_ATOMIC