]> git.ipfire.org Git - thirdparty/git.git/commit - Makefile
Makefile: move -DPAGER_ENV from BASIC_CFLAGS to EXTRA_CPPFLAGS
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 17 Dec 2021 00:19:15 +0000 (01:19 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 25 Dec 2021 22:49:56 +0000 (14:49 -0800)
commit451a7dbe28b1832468568b9d64609d81e7ee343e
tree64aae404d2db23019f4aee27b560ca04d43944d8
parente9d7761bb94f20acc98824275e317fa82436c25d
Makefile: move -DPAGER_ENV from BASIC_CFLAGS to EXTRA_CPPFLAGS

Remove -DPAGER_ENV from the BASIC_CFLAGS and instead have it passed
via the EXTRA_CPPFLAGS passed when compiling pager.c.

This doesn't change anything except to make it clear that only pager.c
needs this, as it's the only user of this define. See
995bc22d7f8 (pager: move pager-specific setup into the build,
2016-08-04) for the commit that originally added this.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile