Skip to content
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

LDFLAGS_BASE is not used when LDFLAGS is passed on environment #413

Open
q66 opened this issue Nov 18, 2024 · 1 comment
Open

LDFLAGS_BASE is not used when LDFLAGS is passed on environment #413

q66 opened this issue Nov 18, 2024 · 1 comment

Comments

@q66
Copy link
Contributor

q66 commented Nov 18, 2024

It seems in a distro build environment where LDFLAGS is provided during configure, LDFLAGS_BASE is not being used, even though it's set in mconfig. That means with latest master -lcap is not passed properly.

@davmac314
Copy link
Owner

This is intentional (i.e. by specifying LDFLAGS the default flags are being overridden), but not ideal for the additional library case (such as -lcap). We could split that out into a separate build variable (LIBCAP_LDFLAGS or similar). I would like to re-work the build a little so I will get to this at some point.

Currently workarounds would be either to include -lcap in the specified LDFLAGS, or to override LDFLAGS_EXTRA instead of LDFLAGS.

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

No branches or pull requests

2 participants