diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-01-09 13:46:04 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2017-01-09 13:46:04 +0100 |
commit | 6281d3c3633fb1de98ff6010212325e45c226f3c (patch) | |
tree | 080315c094b898fbcf552cc240136c8569d47222 /util.h | |
parent | 7df4b7477a6ac53a6514c1d5f86cbd96929f3602 (diff) |
make: Append instead of override CPPFLAGS and CFLAGS passed by user
Distribution build scripts commonly assume the CPPFLAGS, CFLAGS and
LDFLAGS passed via command line or environment to be appended to the
base set of flags defined in the Makefile. Follow this assumption
instead of overriding the already defined values.
Also treat these three variables entriely independently instead of
appending CPPFLAGS to CFLAGS.
Reported-by: @pali
Really-fixes: #17
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions