From 37c27ae84b1ef42d977fb9483d6a767360041550 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Sat, 30 Apr 2022 23:02:54 +0200 Subject: [PATCH] fix(ci): add -DGC_THREADS flag to prod build --- .woodpecker/.build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.woodpecker/.build.yml b/.woodpecker/.build.yml index e7341fd..b41a39d 100644 --- a/.woodpecker/.build.yml +++ b/.woodpecker/.build.yml @@ -25,7 +25,8 @@ pipeline: environment: - LDFLAGS=-lz -lbz2 -llzma -lexpat -lzstd -llz4 -static commands: - - make prod + # Apparently this -D is *very* important + - CFLAGS='-DGC_THREADS=1' make prod # Make sure the binary is actually statically built - readelf -d pvieter - du -h pvieter