From 1a39354c4b16f16cce5209cb57a8667deb49ea57 Mon Sep 17 00:00:00 2001 From: Alexandre Lamarre Date: Thu, 5 Dec 2024 10:26:14 -0500 Subject: [PATCH] omit DWARF debug info when building BRO binaries Signed-off-by: Alexandre Lamarre --- scripts/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build b/scripts/build index 82c9f6d8..0aac6f8b 100755 --- a/scripts/build +++ b/scripts/build @@ -7,7 +7,7 @@ cd $(dirname $0)/.. mkdir -p bin if [ "$(uname)" = "Linux" ]; then - OTHER_LINKFLAGS="-extldflags -static -s" + OTHER_LINKFLAGS="-extldflags -static -s -w" fi LINKFLAGS="-X main.Version=$VERSION"