From 9e4ac0816f5065733e62210386beb55bcd5e66c9 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 13 Jun 2022 22:31:47 +0400 Subject: [PATCH] Making executable purely static by removing dependency from cstdlib. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8a9e4e1..7ed0c96 100755 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ SYSDDIR_=${shell pkg-config systemd --variable=systemdsystemunitdir} SYSDDIR=${SYSDDIR_:/%=%} DESTDIR=/ -LDFLAGS=-ldflags "-s -w" +LDFLAGS=-ldflags "-s -w" -tags osusergo,netgo all: ${TARGET}