]> git.armaanb.net Git - st.git/commit
Let the user specify CPPFLAGS
authorParide Legovini <pl@ninthfloor.org>
Thu, 10 Jan 2019 12:36:09 +0000 (13:36 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Thu, 10 Jan 2019 17:13:13 +0000 (18:13 +0100)
commit16d98738e74f189b3a00c23390ab5a9a22b056a1
tree1dbb663e16fa221fd82506d02e38a989428a0d66
parente23acb9188b7bc7a7cfc418ac45671003abcc341
Let the user specify CPPFLAGS

This complements the work done in d4928ed, allowing the user to specify
the preprocessor flags with the CPPFLAGS environment variable. This is
useful for example to specify preprocessor macros with -D.

CFLAGS could be used instead, but CPPFLAGS is more correct and is expected
to be honored in some cases. For example, the helper scripts to build
Debian packages make use of CPPFLAGS, but the variable is currently
being ignored unless manually appended to CFLAGS.
config.mk