summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2020-10-17 12:50:24 +0200
committerToni Uhlig <matzeton@googlemail.com>2020-10-17 12:50:24 +0200
commit279868f4c83d9a378924fae43d5f62cd8cc22ed3 (patch)
treee8f131a1897a1455725af3d7acdfcf79f0e89e1f
parent8cbac2ac88c155c3ef3547b8a2be69a6a3a04f11 (diff)
build go example only if GOCC set
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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),)