Skip to content

Commit

Permalink
build(go): 🐛 ensure CGO_ENABLED is always set for build environment
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuar committed May 8, 2024
1 parent fe5b06d commit 713faed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/env.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
export PKG_ARCH=amd64
export NFPM_ARCH=amd64
export GOARCH=amd64
export CGO_ENABLED=1
1 change: 1 addition & 0 deletions build/env.arm
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ export PKG_CONFIG_PATH=/usr/lib/arm-linux-gnueabihf/pkgconfig
export GOARCH=arm
export GOARM=7
export NFPM_ARCH=arm7
export CGO_ENABLED=1
1 change: 1 addition & 0 deletions build/env.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ export PKG_ARCH=arm64
export PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig
export GOARCH=arm64
export NFPM_ARCH=arm64
export CGO_ENABLED=1

0 comments on commit 713faed

Please sign in to comment.