From 279868f4c83d9a378924fae43d5f62cd8cc22ed3 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Sat, 17 Oct 2020 12:50:24 +0200 Subject: build go example only if GOCC set Signed-off-by: Toni Uhlig --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 577de3511..a3d2e8170 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ PROJECT_CFLAGS += -Wall -Wextra $(EXTRA_CFLAGS) -I. JSMN_CFLAGS := -DJSMN_STATIC=1 -DJSMN_STRICT=1 -Icontrib/jsmn LIBS += -pthread -lpcap -lm -GOCC = go +GOCC = GOFLAGS = -ldflags='-s -w' ifneq ($(PKG_CONFIG_BIN),) -- cgit v1.2.3