-
Notifications
You must be signed in to change notification settings - Fork 420
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
1.4.1 fails building fel with gcc 6.2.1 on Fedora #74
Comments
You're overriding If you wish to pass additional CFLAGS, you should preferably use Regards, NiteHawk |
I would say that we should use CFLAGS for passing additional options (instead of inventing EXTRA_CFLAGS), because it's a common practice used by all build systems. Or at least by autotools and CMake. It is generally a good idea to follow the principle of least astonishment :) |
How do we ensure we get our required flags in? Add whatever we need on top of existing CFLAGS - e.g. Additionally: Who's supposed to "win" in case of conflicts, e.g. |
Maybe introduce a new DEFAULT_CFLAGS variable in the makefile? Then append the user supplied CFLAGS variable to it. The user's CFLAGS should have the highest priority and the power to override the default options (for example, providing |
Yes, that seems reasonable. |
Some information about CFLAGS: https://www.gnu.org/software/automake/manual/html_node/User-Variables.html |
Lots of undefined errors
The text was updated successfully, but these errors were encountered: