Re: [PATCH i2c-tools] tools: allow to preset TOOLS_CFLAGS and TOOLS_LDFLAGS

Jean Delvare
2020-08-07T14:55:38Z

On Fri, 7 Aug 2020 11:42:47 +0200, Wolfram Sang wrote:
> > > Sometimes I need to add some flags (like -static for the linker), so
> > > allow this.
> >
> > Does USE_STATIC_LIB=1 not work for you?
>
> For some embedded devices, I need full static because they use a libc I
> don't have at hand.

OK, if you think there are more people interested, feel free to
introduce another Makefile variable (STATIC_BUILD=1 for example) and
use that. Whatever makes your life easier really.

--
Jean Delvare
SUSE L3 Support