Skip to content

Changed assignment clobbering LDFLAGS #2956

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

jboero
Copy link
Contributor

@jboero jboero commented Sep 1, 2023

Assigning LDFLAGS directly wipes out any flags specified by the build pipeline. Is this OK?

This way it's much easier to do things like static builds. May consider the same for CFLAGS, etc others also.

LDFLAGS="-static" make -j

Assigning LDFLAGS directly wipes out any flags specified by the build pipeline. Is this OK?

This way it's much easier to do things like static builds. May consider the same for CFLAGS, etc others also.

`LDFLAGS="-static" make -j`
@cebtenzzre
Copy link
Collaborator

I have a PR that lets you append to any of the flag variables via the command line: #2886

@jboero
Copy link
Contributor Author

jboero commented Sep 2, 2023

Oh nice! Even better, thx.

@cebtenzzre cebtenzzre closed this Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants