Created
May 31, 2018 07:50
-
-
Save laanwj/e84d17412a5811ef4b7bd7512218c01a to your computer and use it in GitHub Desktop.
Patch for buiding Bitcoin Core with C++14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/configure.ac b/configure.ac | |
index 1ffef1527bdb556dff79338f4052d1b49ae6bc42..5f324894bd861fe92ec7fad24b6687876b0e1919 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -60,8 +60,8 @@ case $host in | |
lt_cv_deplibs_check_method="pass_all" | |
;; | |
esac | |
-dnl Require C++11 compiler (no GNU extensions) | |
-AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory], [nodefault]) | |
+dnl Require C++14 compiler (no GNU extensions) | |
+AX_CXX_COMPILE_STDCXX([14], [noext], [mandatory], [nodefault]) | |
dnl Check if -latomic is required for <std::atomic> | |
CHECK_ATOMIC | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment