[Buildroot] [PATCH v2 3/3] package/exim: fix build error during install step

Peter Korsgaard peter at korsgaard.com
Tue Feb 11 22:30:50 UTC 2020

>>>>> "Luca" == Luca Ceresoli <luca at lucaceresoli.net> writes:

 > exim builds some files during the 'make install' step, and these fail with
 > an error:

 >   lookups/lf_quote.c:49:3: error: 'for' loop initial declarations are only allowed in C99 mode
 >      for (int j = 0; j < vlength; j++)
 >      ^

 > Fix by passing the -std=c99 here, as it is already passed in the build
 > step.

 > Signed-off-by: Luca Ceresoli <luca at lucaceresoli.net>
 > Cc: Bernd Kuhls <bernd.kuhls at t-online.de>

 > ---
 > Changes since v1: none.

Committed, thanks.

Bye, Peter Korsgaard

More information about the buildroot mailing list