Skip to content

Commit 717a756

Browse files
committed
Compile with greenteagc by default
1 parent 5aae6fc commit 717a756

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ PROJECT ?= algernon
44

55
GOBUILD := go build -mod=vendor -v
66

7+
GOEXPERIMENT := greenteagc
8+
79
# macOS and FreeBSD detection
810
UNAME_S := $(shell uname -s)
911
ifeq ($(UNAME_S),Darwin)

release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ echo "Version $version"
88

99
export GOBUILD=( go build -mod=vendor -trimpath -ldflags "-w -s" -a -o )
1010
export CGO_ENABLED=0
11+
export GOEXPERIMENT=greenteagc
1112

1213
echo 'Compiling...'
1314
echo '* Linux x86_64'

0 commit comments

Comments
 (0)