build as a static binary for perfect compatibility
This commit is contained in:
4
Makefile
4
Makefile
@ -3,7 +3,7 @@ all: reaction ip46tables
|
||||
clean:
|
||||
rm -f reaction ip46tables
|
||||
ip46tables: ip46tables.d/ip46tables.c
|
||||
gcc ip46tables.d/ip46tables.c -o ip46tables
|
||||
gcc -static ip46tables.d/ip46tables.c -o ip46tables
|
||||
|
||||
reaction: app/* reaction.go go.mod go.sum
|
||||
go build -buildvcs=false .
|
||||
CGO_ENABLED=0 go build -buildvcs=false .
|
||||
|
Reference in New Issue
Block a user