atftp: fix build with gcc5
authorBaruch Siach <baruch@tkos.co.il>
Mon, 13 Jul 2015 19:19:38 +0000 (22:19 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 13 Jul 2015 20:33:24 +0000 (22:33 +0200)
commitaac3f315d9f4ec08728778e08a633f3b193522ed
treed194fc3cb3321aedf57771a4da569c30658b66d4
parent112ab5f40467f8d8b89cdba99d864f33a7618054
atftp: fix build with gcc5

gcc5 defaults to -std=gnu11 which changes the inline semantics. This leads to
multiple definition error with 'extern inline'. See
https://gcc.gnu.org/gcc-5/porting_to.html for the details.

Fixes:
http://autobuild.buildroot.net/results/762/762bce2bbc1f994cc796f0442bfa73b7ad64e272/
http://autobuild.buildroot.net/results/28b/28bf6018dcf91ddacfb76f54a92313da8bf182e1/
http://autobuild.buildroot.net/results/fde/fdee23ecd0c5c66fda1ed38efe43048ce934b733/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/atftp/atftp.mk