Skip to content

Commit aa36730

Browse files
committed
build: remove libstdc++ backwards-compat
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.
1 parent 3ee028f commit aa36730

File tree

3 files changed

+1
-97
lines changed

3 files changed

+1
-97
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ AC_ARG_ENABLE([lcov],
133133

134134
AC_ARG_ENABLE([glibc-back-compat],
135135
[AS_HELP_STRING([--enable-glibc-back-compat],
136-
[enable backwards compatibility with glibc and libstdc++])],
136+
[enable backwards compatibility with glibc])],
137137
[use_glibc_compat=$enableval],
138138
[use_glibc_compat=no])
139139

src/Makefile.am

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,6 @@ libbitcoin_util_a_SOURCES = \
280280

281281
if GLIBC_BACK_COMPAT
282282
libbitcoin_util_a_SOURCES += compat/glibc_compat.cpp
283-
libbitcoin_util_a_SOURCES += compat/glibcxx_compat.cpp
284283
endif
285284

286285
# cli: shared between bitcoin-cli and bitcoin-qt
@@ -372,7 +371,6 @@ libbitcoinconsensus_la_SOURCES = \
372371

373372
if GLIBC_BACK_COMPAT
374373
libbitcoinconsensus_la_SOURCES += compat/glibc_compat.cpp
375-
libbitcoinconsensus_la_SOURCES += compat/glibcxx_compat.cpp
376374
endif
377375

378376
libbitcoinconsensus_la_LDFLAGS = -no-undefined $(RELDFLAGS)

src/compat/glibcxx_compat.cpp

Lines changed: 0 additions & 94 deletions
This file was deleted.

0 commit comments

Comments
 (0)