From d5aab704908d6bea48bd7e7b36a3a49ece7d5c5f Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Thu, 27 Mar 2014 19:58:41 -0400 Subject: build: add an option for enabling glibc back-compat Using "./configure --enable-glibc-back-compat" will attempt to be compatible with a target running glibc abi 2.9 and libstdc++ abi 3.4. --- src/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index c725c4f1c2..a19246a5c1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -135,6 +135,11 @@ libbitcoin_common_a_SOURCES = \ version.cpp \ $(BITCOIN_CORE_H) +if GLIBC_BACK_COMPAT +libbitcoin_common_a_SOURCES += compat/glibc_compat.cpp +libbitcoin_common_a_SOURCES += compat/glibcxx_compat.cpp +endif + libbitcoin_cli_a_SOURCES = \ rpcclient.cpp \ $(BITCOIN_CORE_H) -- cgit v1.2.3