Skip to content

Changed assignment clobbering LDFLAGS - #2956

Closed
jboero wants to merge 1 commit into
ggml-org:masterfrom
jboero:makefile-ldflags
Closed

jboero wants to merge 1 commit into
ggml-org:masterfrom
jboero:makefile-ldflags

Conversation

@jboero

@jboero jboero commented Sep 1, 2023

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Collaborator

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

@jboero

jboero commented Sep 2, 2023

Copy link
Copy Markdown
Contributor Author

Oh nice! Even better, thx.

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