Closed staticfloat closed 10 years ago
I think it would be good to have flags that can and cannot be overridden. You also have commit access to this repo.
Alright. I will then have a CFLAGS_add
and FFLAGS_add
that use the override
keyword such that they cannot be overturned by the user, but CFLAGS
is all still up for grabs by the user.
I'm a little dissatisfied with the
CFLAGS_add
solutions inMake.inc
.make
gives us two behaviors for assigning variables: those that the user can overturn easily (=
,+=
,:=
) and those that they cannot (prefixed withoverride
). By creating a nonstandard variable name, we create a second tier of overridable values in the Makefile.I think it would be more straightforward for everyone involved if we just separate the Makefile into default
{C,F}FLAG
values, and those that cannot be overridden, added onto the{C,F}FLAG
values viaoverride
.Viral, if you agree, I'll update this PR with the changes.