pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CPPFLAGS in textproc/tree-sitter/grammar.mk



On Fri, Aug 08, 2025 at 05:01:13PM -0400, Mansour Moufid wrote:
> The solution was to edit grammar.mk and change:
> 
>     libtool --mode=compile ${CC} ${CFLAGS} ...
>     libtool --mode=compile ${CXX} ${CXXFLAGS} ...
> 
> to 
> 
>     libtool --mode=compile ${CC} ${CPPFLAGS} ${CFLAGS} ...
>     libtool --mode=compile ${CXX} ${CPPFLAGS} ${CXXFLAGS} ...

Done, thanks!
 Thomas


Home | Main Index | Thread Index | Old Index