From cafa20074c0910224c56953a7aec072974efd446 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Mon, 29 Jul 2019 23:50:00 +0100 Subject: [PATCH] Don't strip debug builds --- build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build b/build index a787965..046296e 100755 --- a/build +++ b/build @@ -26,7 +26,9 @@ do done if [ -z $TABLES ]; then - LDFLAGS="$LDFLAGS -s -w" + if [ "$ARGS" == "${ARGS/-tags debug/}" ]; then + LDFLAGS="$LDFLAGS -s -w" + fi fi if [ $IOS ]; then