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

Allow OPTFLAGS to override default CFLAGS #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

posophe
Copy link

@posophe posophe commented Sep 18, 2015

When building a package the build system might be wanting to
pass in some additional CFLAGS. So allow for the OPTFLAGS setting
to override the default CFLAGS.

When building a package the build system might be wanting to
pass in some additional CFLAGS. So allow for the OPTFLAGS setting
to override the default CFLAGS.
@roidayan
Copy link
Contributor

I'm not sure this is needed. you can export CFLAGS with more flags before executing make. i.e.:
CFLAGS="--additional-flag" make

@posophe
Copy link
Author

posophe commented Jul 19, 2016

Not strictly needed, indeed. But it makes maintenance more comfortable. Other opensource projects support this way, this is how we generally build our packages, without any extra hack.

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