summary refs log tree commit diff
path: root/pkgs/tools/security/tracee/disable-go-symbol-table.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/tracee/disable-go-symbol-table.patch')
-rw-r--r--pkgs/tools/security/tracee/disable-go-symbol-table.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/pkgs/tools/security/tracee/disable-go-symbol-table.patch b/pkgs/tools/security/tracee/disable-go-symbol-table.patch
deleted file mode 100644
index 2aba5f5c338fc..0000000000000
--- a/pkgs/tools/security/tracee/disable-go-symbol-table.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/Makefile b/Makefile
-index d5cd754..0b74a79 100644
---- a/Makefile
-+++ b/Makefile
-@@ -471,7 +471,7 @@ ifeq ($(BTFHUB), 1)
- endif
- 	$(GO_ENV_EBPF) $(CMD_GO) build \
- 		-tags $(GO_TAGS_EBPF) \
--		-ldflags="-w \
-+		-ldflags="-s -w \
- 			-extldflags \"$(CGO_EXT_LDFLAGS_EBPF)\" \
- 			-X main.version=\"$(VERSION)\" \
- 			" \
-@@ -552,7 +552,7 @@ $(OUTPUT_DIR)/tracee-rules: \
- #
- 	$(GO_ENV_RULES) $(CMD_GO) build \
- 		-tags $(GO_TAGS_RULES) \
--		-ldflags="-w \
-+		-ldflags="-s -w \
- 			-extldflags \"$(CGO_EXT_LDFLAGS_RULES)\" \
- 			" \
- 		-v -o $@ \