aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2014-03-27 19:58:41 -0400
committerCory Fields <cory-nospam-@coryfields.com>2014-04-10 22:28:26 -0400
commitd5aab704908d6bea48bd7e7b36a3a49ece7d5c5f (patch)
treec1d9a7140dc99b917bc591442cd05e712269cb3b /src/Makefile.am
parentffc6b678b9d12a8f963ab362b952fd6b7e6c4ec7 (diff)
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.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am5
1 files changed, 5 insertions, 0 deletions
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)