Only use -rdynamic on debug builds
This commit is contained in:
@@ -9,7 +9,8 @@ echo "Compiling a debug build with --enable-debug..."
|
||||
|
||||
# run correct build script for detected OS
|
||||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||
CONFIGURE_FLAGS=--enable-debug ./util/build.sh --disable-tests $@
|
||||
# TODO: we only have debug builds on linux for now
|
||||
CONFIGURE_FLAGS=--enable-debug ./util/debug-build.sh --disable-tests $@
|
||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
# code from ./util/build.sh needs to be ported to support --disable-tests
|
||||
#./util/build-mac.sh --disable-tests $@
|
||||
|
||||
Reference in New Issue
Block a user