fix(ci): add -DGC_THREADS flag to prod build

cli-docs
Jef Roosens 2022-04-30 23:02:54 +02:00
parent 60598f719c
commit 37c27ae84b
Signed by untrusted user: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,8 @@ pipeline:
environment: environment:
- LDFLAGS=-lz -lbz2 -llzma -lexpat -lzstd -llz4 -static - LDFLAGS=-lz -lbz2 -llzma -lexpat -lzstd -llz4 -static
commands: commands:
- make prod # Apparently this -D is *very* important
- CFLAGS='-DGC_THREADS=1' make prod
# Make sure the binary is actually statically built # Make sure the binary is actually statically built
- readelf -d pvieter - readelf -d pvieter
- du -h pvieter - du -h pvieter