mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 09:26:27 -04:00
12 lines
607 B
Text
12 lines
607 B
Text
--- Makefile.orig 2022-02-10 09:11:04 UTC
|
|
+++ Makefile
|
|
@@ -58,8 +58,8 @@ LD_OPTS_VARS= \
|
|
-X github.com/crowdsecurity/crowdsec/pkg/csconfig.defaultConfigDir=$(DEFAULT_CONFIGDIR) \
|
|
-X github.com/crowdsecurity/crowdsec/pkg/csconfig.defaultDataDir=$(DEFAULT_DATADIR)
|
|
|
|
-export LD_OPTS=-ldflags "-s -w $(LD_OPTS_VARS)"
|
|
-export LD_OPTS_STATIC=-ldflags "-s -w $(LD_OPTS_VARS) -extldflags '-static'"
|
|
+export LD_OPTS=-mod vendor -modcacherw -ldflags "-s -w $(LD_OPTS_VARS)"
|
|
+export LD_OPTS_STATIC=-mod vendor -modcacherw -ldflags "-s -w $(LD_OPTS_VARS) -extldflags '-static'"
|
|
|
|
RELDIR = crowdsec-$(BUILD_VERSION)
|