Skip to content

Commit

Permalink
Updated Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrytfleung committed Jan 9, 2024
1 parent 8e96926 commit 3ef830a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion collector/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ LAYER_NAME:=otel-collector
VERSION=$(shell cat VERSION)
GIT_SHA=$(shell git rev-parse HEAD)
GOARCH ?= amd64
ARCH ?= x86_64

ifeq ($(GOARCH), amd64)
ARCH=x86_64
else
ARCH=$(GOARCH)
endif

GOBUILD=GO111MODULE=on CGO_ENABLED=0 installsuffix=cgo go build -trimpath
BUILD_INFO_IMPORT_PATH=main

Expand Down

0 comments on commit 3ef830a

Please sign in to comment.