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

Avoid repetitions like B2_LINKFLAGS=linkflags=foo #32

Closed
Flamefire opened this issue Feb 28, 2020 · 0 comments
Closed

Avoid repetitions like B2_LINKFLAGS=linkflags=foo #32

Flamefire opened this issue Feb 28, 2020 · 0 comments

Comments

@Flamefire
Copy link
Collaborator

Can we please avoid these repetitions of name and flag? I guess we need a new B2_FLAGS to pass arbitrary flags as e.g. currently B2_CXXFLAGS is abused to pass flags to b2 like ASAN.

@pdimov uses ${LINKFLAGS:+linkflags=$LINKFLAGS} and ${VISIBILITY:+visibility=$VISIBILITY} which I find pretty neat :)

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

1 participant