diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2012-08-14 21:36:11 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2012-08-14 21:36:11 +0000 |
commit | b7bce8a6cfedff9abcd806bdd7f0e6232f442943 (patch) | |
tree | 95f7b96689c8d85c12a53fbd40a739a496a3f020 /nic3com.c | |
parent | 7c36d5265273479b4de8e3394d308744709d84de (diff) | |
download | flashrom-b7bce8a6cfedff9abcd806bdd7f0e6232f442943.tar.gz flashrom-b7bce8a6cfedff9abcd806bdd7f0e6232f442943.tar.bz2 flashrom-b7bce8a6cfedff9abcd806bdd7f0e6232f442943.zip |
Allow the user to specify CFLAGS without breaking the build
GNU make has a very interesting quirk: If you set a variable on the
command line, any changes to that variable in the Makefile are ignored
unless marked with the "override" keyword.
Use CFLAGS only for optimization and warning options, and use CPPFLAGS
for the dependency and other preprocessor related options.
That way packagers can specify their own CFLAGS without breaking the
build.
As a side benefit, the ich_descriptors_tool Makefile now behaves exactly
the same whether called standalone or as part of the main Makefile.
Corresponding to flashrom svn r1574.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'nic3com.c')
0 files changed, 0 insertions, 0 deletions