Skip to content

Commit

Permalink
Disable CGO
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuru committed Feb 3, 2025
1 parent 7eac54c commit 7641b9c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vendor/rainbow-text/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ export APK_BUILD_TEMPLATE ?= APKBUILD.github-binary
export APK_PACKAGE_VERSION := $(shell cat VERSION | sed s/\+.*//)
export INSTALL_PATH=/usr/local/bin

# Ensure binary is statically linked
export CGOENABLED = 0

# RPM should be relatively easy, but we will get to it later
export PACKAGE_TYPES_DISABLED = rpm

Expand Down
2 changes: 2 additions & 0 deletions vendor/terraform-config-inspect/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ include ../../tasks/Makefile.vendor_includes

# Prevent build errors because of different versions of go in different workflows
export GOTOOLCHAIN := local
# Ensure binary is statically linked
export CGOENABLED = 0

version.go: VERSION
go generate
Expand Down

0 comments on commit 7641b9c

Please sign in to comment.