Temporary change to add -rdynamic to build flags
This allows us to see function names in a backtrace when AssertLockHeld gives us an assert, which is helping to debug our deadlock bug. This code should be improved to only do this for debug builds.
This commit is contained in:
@@ -118,7 +118,8 @@ HOST="$HOST" BUILD="$BUILD" "$MAKE" "$@" -C ./depends/ V=1
|
||||
|
||||
./autogen.sh
|
||||
|
||||
CONFIG_SITE="$PWD/depends/$HOST/share/config.site" ./configure "$HARDENING_ARG" "$LCOV_ARG" "$TEST_ARG" "$MINING_ARG" $CONFIGURE_FLAGS CXXFLAGS='-g'
|
||||
#TODO: only use rdynamic for a debug build
|
||||
CONFIG_SITE="$PWD/depends/$HOST/share/config.site" ./configure "$HARDENING_ARG" "$LCOV_ARG" "$TEST_ARG" "$MINING_ARG" $CONFIGURE_FLAGS CXXFLAGS='-g -rdynamic'
|
||||
|
||||
# Build CryptoConditions stuff
|
||||
WD=$PWD
|
||||
|
||||
Reference in New Issue
Block a user