Problem: Wrong header and library files from system directory may be
used instead of the ones specified on configure command line
Solution: Compile with XXX_FLAGS appearing before ALL_CFLAGS
I came across the issue firstly with lua support when I try to have my own build of vim and its dependencies (https://github.com/yousong/build-scripts/blob/master/build-vim.sh).
https://github.com/vim/vim/pull/1100
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
Just to make sure. Does $(call variable, param, param,…)
work with make(1)
other than GNU make?
Other choices would be
LUA_CFLAGS
, PERL_CFLAGS
, etc. to ALL_CFLAGS
$(call CCC,xxx)
to eliminate possible compatibility issues altoghterPersonally I prefer the first choice.
Changes v1 -> v2
$(call CCC,xxx)
Hi, @brammool , 3 monthes have passed, any thoughts on this one?