Skip to content

fix: use single quotes in GOFLAGS ldflags to match network targets#13330

Merged
rjan90 merged 1 commit intomasterfrom
phi/fix-make-cmd
Sep 10, 2025
Merged

fix: use single quotes in GOFLAGS ldflags to match network targets#13330
rjan90 merged 1 commit intomasterfrom
phi/fix-make-cmd

Conversation

@rjan90
Copy link
Copy Markdown
Contributor

@rjan90 rjan90 commented Sep 10, 2025

Related Issues

Fixes quote nesting issue introduced by PR #13328.

Proposed Changes

PR #13328 changed network-specific targets to use single quotes around GOFLAGS assignments, but the base GOFLAGS definition still used double quotes around $(ldflags), causing quote nesting when LDFLAGS is set, and failure to run the make commands.

fix: use single quotes in GOFLAGS ldflags to match network targets
Copilot AI review requested due to automatic review settings September 10, 2025 09:33
@github-project-automation github-project-automation Bot moved this to 📌 Triage in FilOz Sep 10, 2025
@rjan90 rjan90 self-assigned this Sep 10, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a quote nesting issue in the Makefile where inconsistent quote usage between base GOFLAGS definition and network-specific targets caused build failures.

  • Changes double quotes to single quotes around $(ldflags) in the base GOFLAGS definition
  • Ensures consistency with network-specific targets that already use single quotes
  • Resolves make command failures when LDFLAGS is set

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@rjan90 rjan90 requested a review from rvagg September 10, 2025 09:33
@rjan90 rjan90 moved this from 📌 Triage to 🔎 Awaiting Review in FilOz Sep 10, 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.

oh, odd

can you confirm make lotus still works with that since it uses unquoted GOFLAGS

@github-project-automation github-project-automation Bot moved this from 🔎 Awaiting Review to ✔️ Approved by reviewer in FilOz Sep 10, 2025
@rjan90
Copy link
Copy Markdown
Contributor Author

rjan90 commented Sep 10, 2025

can you confirm make lotus still works with that since it uses unquoted GOFLAGS

Can confirm that make lotus still works for me on MacOS and go version go1.23.10

@rjan90 rjan90 merged commit ed563c9 into master Sep 10, 2025
98 checks passed
@rjan90 rjan90 deleted the phi/fix-make-cmd branch September 10, 2025 10:18
@github-project-automation github-project-automation Bot moved this from ✔️ Approved by reviewer to 🎉 Done in FilOz Sep 10, 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.

3 participants