Skip to content

Commit

Permalink
[build] Make sure cgo is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
teo authored Dec 8, 2023
1 parent a6fd06e commit 71877ce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# === This file is part of ALICE O² ===
#
# Copyright 2017-2020 CERN and copyright holders of ALICE O².
# Copyright 2017-2023 CERN and copyright holders of ALICE O².
# Author: Teo Mrnjavac <[email protected]>
#
# Partially derived from Torus Makefile <https://github.com/coreos/torus>
Expand Down Expand Up @@ -84,6 +84,9 @@ GOPATH := $(shell go env GOPATH)
GOPROTOCPATH=$(ROOT_DIR)/tools/protoc-gen-go
HAS_PROTOC := $(shell command -v $(GOPROTOCPATH) 2> /dev/null)

.EXPORT_ALL_VARIABLES:
CGO_ENABLED = 0

.PHONY: build all install generate test debugtest vet fmt clean cleanall help $(WHAT) tools vendor doc docs

build: $(WHAT)
Expand Down

0 comments on commit 71877ce

Please sign in to comment.