flashrom: fix static build with uClibc
authorBaruch Siach <baruch@tkos.co.il>
Wed, 20 Sep 2017 08:17:18 +0000 (11:17 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 21 Sep 2017 19:30:27 +0000 (21:30 +0200)
commit57f4efed7965e573a444544363d0cf74cec13be1
treee867fb52fbf406684882ec7cc642a1d2832c883d
parent4fbc0c9b53a1652bebd467dfdd9862952208ce6c
flashrom: fix static build with uClibc

Define HAVE_STRNLEN to avoid local strnlen() definition.

Fixes:
http://autobuild.buildroot.net/results/7dc/7dc4298e3a07c73e03f70205516d68a0f4c2d297/
http://autobuild.buildroot.net/results/e36/e362848eb45f6b8100131361e6e5faa546f0bbd8/
http://autobuild.buildroot.net/results/69e/69ef10ec710f418b4d10c1edb4f2ce2e49b522bf/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/flashrom/flashrom.mk