]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1644: configure: doesn't separate CPPFLAGS and CFLAGS v9.1.1644
authorDamien Lejay <damien@lejay.be>
Sun, 17 Aug 2025 19:25:07 +0000 (21:25 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 17 Aug 2025 19:25:07 +0000 (21:25 +0200)
commitce288c7fb05d91fa4bb434485471d65d2045aece
tree5bd6339c9afa2d71f4b34de46f2e24aab77bf24b
parent308a3130be89148cdaf83bfaf00e3e7c69ed2133
patch 9.1.1644: configure: doesn't separate CPPFLAGS and CFLAGS

Problem:  configure: doesn't separate CPPFLAGS and CFLAGS
Solution: Split CPPFLAGS and CFLAGS for pkg-config
          (Damien Lejay)

Previously, all flags returned by pkg-config --cflags were dumped into
CFLAGS, mixing include paths with compiler options. This commit uses
--cflags-only-I and --cflags-only-other to properly separate include
flags into CPPFLAGS and keep compiler flags in CFLAGS.

closes: #18019

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/auto/configure
src/configure.ac
src/version.c