libiconv-full: fix compile-time linking error GCC7
authorJake Staehle <jacob@staehle.us>
Tue, 24 Oct 2017 18:09:37 +0000 (13:09 -0500)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 19 Dec 2017 21:23:42 +0000 (22:23 +0100)
commite80ab48777d83d8c24fcd397a85649f08b6b5f87
tree7cd06ed6fa04b46e67525780b7516b8623c0c557
parent95fe3c51e5e1219fc29ce1776f94c23642e84474
libiconv-full: fix compile-time linking error GCC7

LEDE Flyspray Task 1091:
Fix libiconv-full 'undefined reference' compile linker error using GCC7 Musl
Tested with targets x86 (i386 and x86_64)
Addition of CFLAGS "std=gnu89" fixes the linker issues, credit to harrylwc
Issue found with 'minidlna' package, which depends on 'libiconv-full'
Error in compile log:
../lib/.libs/libiconv.so: undefined reference to `aliases_lookup'
../lib/.libs/libiconv.so: undefined reference to `aliases2_lookup'
collect2: error: ld returned 1 exit status
Makefile:64: recipe for target 'iconv_no_i18n' failed

Signed-off-by: Jake Staehle <jacob@staehle.us>
package/libs/libiconv-full/Makefile