Skip to content

Commit

Permalink
build: remove libstdc++ backwards-compat
Browse files Browse the repository at this point in the history
Backwards-compatibility for libstdc++ is not limited to straightforward abi
changes. Symbol visibility also needs to be taken into consideration, and
that really can't be addressed simply.

Instead, just static-link libstdc++ for backwards-compat.
  • Loading branch information
theuni committed Feb 23, 2015
1 parent 3ee028f commit aa36730
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 97 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ AC_ARG_ENABLE([lcov],

AC_ARG_ENABLE([glibc-back-compat],
[AS_HELP_STRING([--enable-glibc-back-compat],
[enable backwards compatibility with glibc and libstdc++])],
[enable backwards compatibility with glibc])],
[use_glibc_compat=$enableval],
[use_glibc_compat=no])

Expand Down
2 changes: 0 additions & 2 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ libbitcoin_util_a_SOURCES = \

if GLIBC_BACK_COMPAT
libbitcoin_util_a_SOURCES += compat/glibc_compat.cpp
libbitcoin_util_a_SOURCES += compat/glibcxx_compat.cpp
endif

# cli: shared between bitcoin-cli and bitcoin-qt
Expand Down Expand Up @@ -372,7 +371,6 @@ libbitcoinconsensus_la_SOURCES = \

if GLIBC_BACK_COMPAT
libbitcoinconsensus_la_SOURCES += compat/glibc_compat.cpp
libbitcoinconsensus_la_SOURCES += compat/glibcxx_compat.cpp
endif

libbitcoinconsensus_la_LDFLAGS = -no-undefined $(RELDFLAGS)
Expand Down
94 changes: 0 additions & 94 deletions src/compat/glibcxx_compat.cpp

This file was deleted.

0 comments on commit aa36730

Please sign in to comment.