Skip to content

fix: resolve quote nesting in network-specific build targets#13328

Merged
rvagg merged 1 commit intofilecoin-project:masterfrom
strahe:fix/makefile-quote
Sep 9, 2025
Merged

fix: resolve quote nesting in network-specific build targets#13328
rvagg merged 1 commit intofilecoin-project:masterfrom
strahe:fix/makefile-quote

Conversation

@strahe
Copy link
Copy Markdown
Contributor

@strahe strahe commented Sep 9, 2025

Fixes quote nesting bug in network-specific build targets when LDFLAGS is set.

Commands like LDFLAGS=-L/usr/local/cuda/lib64 make calibnet-lotus failed due to nested double quotes in GOFLAGS construction:

  • GOFLAGS+=-ldflags="$(ldflags)" + GOFLAGS="$(GOFLAGS) $(FLAGS)"
  • Result: GOFLAGS="-ldflags="..." -tags=calibnet" (parsing error)

Changed to single quotes to avoid nesting.

@github-project-automation github-project-automation Bot moved this to 📌 Triage in FilOz Sep 9, 2025
Copy link
Copy Markdown
Member

@rvagg rvagg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@github-project-automation github-project-automation Bot moved this from 📌 Triage to ✔️ Approved by reviewer in FilOz Sep 9, 2025
@rvagg rvagg merged commit a070233 into filecoin-project:master Sep 9, 2025
174 of 175 checks passed
@github-project-automation github-project-automation Bot moved this from ✔️ Approved by reviewer to 🎉 Done in FilOz Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

2 participants