summaryrefslogtreecommitdiff
path: root/shell.c
diff options
context:
space:
mode:
authorLibravatar Ramsay Jones <ramsay@ramsayjones.plus.com>2019-02-05 02:27:48 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-02-05 10:07:26 -0800
commit15caca28da0f634200b80b98228a5dc0646afbd6 (patch)
tree84955a5f2cc0442633f0c369c091deeaf348bb33 /shell.c
parentconfig.mak.uname: remove obsolete SPARSE_FLAGS setting (diff)
downloadtgif-15caca28da0f634200b80b98228a5dc0646afbd6.tar.xz
Makefile: improve SPARSE_FLAGS customisation
In order to enable greater user customisation of the SPARSE_FLAGS variable, we introduce a new SP_EXTRA_FLAGS variable to use for target specific settings. Without using the new variable, setting the SPARSE_FLAGS on the 'make' command-line would also override the value set by the target-specific rules in the Makefile (effectively making them useless). Also, this enables the SP_EXTRA_FLAGS to be used in the future for any other internal customisations, such as for some platform specific values. In addition, we initialise the SPARSE_FLAGS to the default (empty) value using a conditional assignment (?=). This allows SPARSE_FLAGS to be set from the environment as well as from the command-line. Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'shell.c')
0 files changed, 0 insertions, 0 deletions