aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCory Fields <[email protected]>2017-02-22 13:33:22 -0500
committerWladimir J. van der Laan <[email protected]>2017-02-23 19:06:57 +0100
commit99fd85cb44fe9983c64cfa376299e67b18568304 (patch)
tree3ab777b20692dea3fb85671d298a1cf8718ce960 /configure.ac
parentbuild: add --enable-werror option (diff)
downloaddiscoin-99fd85cb44fe9983c64cfa376299e67b18568304.tar.xz
discoin-99fd85cb44fe9983c64cfa376299e67b18568304.zip
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. Github-Pull: #9831 Rebased-From: 9829c54de2725037ee0702306cbaa99fc9aa1826
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 95e85e6d0..a2332578a 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