Skip to content

Conversation

@nlordell
Copy link
Contributor

This PR fixes what appears to be a typo LDFLAGS written with an additional _ in the Makefile for setting the default linker flags for libjanet.

This PR fixes what appears to be a typo `LDFLAGS` written with an
additional `_` in the Makefile for setting the default linker flags for
`libjanet`.
@sogaiu
Copy link
Contributor

sogaiu commented Aug 18, 2025

I've looked into this a bit and haven't found anything definitive, but FWIW there are hits for both LD_FLAGS and LDFLAGS at various locations.

Not having much luck with determining whether both are valid for some environments and/or one has been deprecated.

May keep looking.

@bakpakin
Copy link
Member

LDFLAGS is the right one, LD_FLAGS is clearly a typo. Good catch, @nlordell .

@bakpakin bakpakin merged commit f764788 into janet-lang:master Aug 18, 2025
13 checks passed
@sogaiu
Copy link
Contributor

sogaiu commented Aug 18, 2025

On a peripheral note, there do seem to be places where LD_FLAGS is mentioned / used in the wild. Possibly some or all of them are typos...Below are a few examples:

There are far more hits for LDFLAGS in the gcc and llvm-project project repositories though :)

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.

3 participants