We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2227859 commit 387d5bfCopy full SHA for 387d5bf
src/Makefile.am
@@ -617,8 +617,9 @@ libbitcoin_node_a_SOURCES += dummywallet.cpp
617
endif
618
619
# Workaround for LLVM 18.1.8 bug: reduce debug level for rpc/evo.cpp to avoid crash
620
-# in debug info generation for complex std::function template
621
-rpc/libbitcoin_node_a-evo.$(OBJEXT): CXXFLAGS += -g0
+# in debug info generation for complex std::function template.
+# Only apply this workaround when using Clang.
622
+rpc/libbitcoin_node_a-evo.$(OBJEXT): CXXFLAGS += $(shell $(CXX) --version | grep -q clang && echo "-g0")
623
624
if ENABLE_ZMQ
625
libbitcoin_zmq_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(BOOST_CPPFLAGS) $(ZMQ_CFLAGS)
0 commit comments