Skip to content

Commit 8c3504a

Browse files
committed
build: Use $@ in macos-amd64 target
It was missed in c4518fe, it's used in all targets except this one. Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
1 parent 3ed82fc commit 8c3504a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ install: $(SOURCES)
9999
go install -tags "$(BUILDTAGS)" -ldflags="$(LDFLAGS)" $(GO_EXTRA_BUILDFLAGS) ./cmd/crc
100100

101101
$(BUILD_DIR)/macos-amd64/crc: $(SOURCES)
102-
GOARCH=amd64 GOOS=darwin go build -tags "$(BUILDTAGS)" -ldflags="$(LDFLAGS)" -o $(BUILD_DIR)/macos-amd64/crc $(GO_EXTRA_BUILDFLAGS) ./cmd/crc
102+
GOARCH=amd64 GOOS=darwin go build -tags "$(BUILDTAGS)" -ldflags="$(LDFLAGS)" -o $@ $(GO_EXTRA_BUILDFLAGS) ./cmd/crc
103103

104104
$(BUILD_DIR)/macos-arm64/crc: $(SOURCES)
105105
GOARCH=arm64 GOOS=darwin go build -tags "$(BUILDTAGS)" -ldflags="$(LDFLAGS)" -o $@ $(GO_EXTRA_BUILDFLAGS) ./cmd/crc

0 commit comments

Comments
 (0)