Skip to content

Commit

Permalink
Merge pull request buildpacks#2100 from mstergianis/fix-extldflags-qu…
Browse files Browse the repository at this point in the history
…oting

Quotes extldflags in the Makefile
  • Loading branch information
jjbustamante authored Mar 26, 2024
2 parents b64adbd + c758773 commit 55086ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ BINDIR:=/usr/bin/
## build: Build the program
build: out
@echo "=====> Building..."
$(GOCMD) build -ldflags "-s -w -X 'github.com/buildpacks/pack.Version=${PACK_VERSION}' -extldflags ${LDFLAGS}" -trimpath -o ./out/$(PACK_BIN) -a ./cmd/pack
$(GOCMD) build -ldflags "-s -w -X 'github.com/buildpacks/pack.Version=${PACK_VERSION}' -extldflags '${LDFLAGS}'" -trimpath -o ./out/$(PACK_BIN) -a ./cmd/pack

## all: Run clean, verify, test, and build operations
all: clean verify test build
Expand Down

0 comments on commit 55086ca

Please sign in to comment.