Skip to content

Commit

Permalink
Add comment about why we enable CGO.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 625311427
  • Loading branch information
erikvarga authored and copybara-github committed Apr 16, 2024
1 parent 7f956c4 commit 979384a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
export PATH := $(PATH):$(shell go env GOPATH)/bin

scalibr: protos
# CGO is required for certain dependencies such as
# go-sqlite3 used by the RPM extractor.
CGO_ENABLED=1 go build binary/scalibr.go

test: protos
Expand Down

0 comments on commit 979384a

Please sign in to comment.