Skip to content

Commit

Permalink
[chore] fix make otelcontribcol, require genotelcontribcol (open-tele…
Browse files Browse the repository at this point in the history
…metry#35707)

Fixes open-telemetry#35631

No changelog since this does not affect anyone outside this repo.

Signed-off-by: Bogdan Drutu <[email protected]>
  • Loading branch information
bogdandrutu authored and jmichalek132 committed Oct 10, 2024
1 parent 7caad8d commit 45ec0d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -337,13 +337,13 @@ genotelcontribcol: $(BUILDER)

# Build the Collector executable.
.PHONY: otelcontribcol
otelcontribcol:
otelcontribcol: genotelcontribcol
cd ./cmd/otelcontribcol && GO111MODULE=on CGO_ENABLED=0 $(GOCMD) build -trimpath -o ../../bin/otelcontribcol_$(GOOS)_$(GOARCH)$(EXTENSION) \
-tags $(GO_BUILD_TAGS) .

# Build the Collector executable without the symbol table, debug information, and the DWARF symbol table.
.PHONY: otelcontribcollite
otelcontribcollite:
otelcontribcollite: genotelcontribcol
cd ./cmd/otelcontribcol && GO111MODULE=on CGO_ENABLED=0 $(GOCMD) build -trimpath -o ../../bin/otelcontribcol_$(GOOS)_$(GOARCH)$(EXTENSION) \
-tags $(GO_BUILD_TAGS) -ldflags $(GO_BUILD_LDFLAGS) .

Expand All @@ -353,12 +353,12 @@ genoteltestbedcol: $(BUILDER)

# Build the Collector executable, with only components used in testbed.
.PHONY: oteltestbedcol
oteltestbedcol:
oteltestbedcol: genoteltestbedcol
cd ./cmd/oteltestbedcol && GO111MODULE=on CGO_ENABLED=0 $(GOCMD) build -trimpath -o ../../bin/oteltestbedcol_$(GOOS)_$(GOARCH)$(EXTENSION) \
-tags $(GO_BUILD_TAGS) .

.PHONY: oteltestbedcollite
oteltestbedcollite:
oteltestbedcollite: genoteltestbedcol
cd ./cmd/oteltestbedcol && GO111MODULE=on CGO_ENABLED=0 $(GOCMD) build -trimpath -o ../../bin/oteltestbedcol_$(GOOS)_$(GOARCH)$(EXTENSION) \
-tags $(GO_BUILD_TAGS) -ldflags $(GO_BUILD_LDFLAGS) .

Expand Down

0 comments on commit 45ec0d7

Please sign in to comment.