luasec: use gcc to link instead of ld
authorEneas U de Queiroz <cote2004-github@yahoo.com>
Wed, 3 Apr 2019 17:43:10 +0000 (14:43 -0300)
committerEneas U de Queiroz <cote2004-github@yahoo.com>
Wed, 3 Apr 2019 18:10:10 +0000 (15:10 -0300)
commite3f1532297bdc0fb1fb9bacd1a51405753d332f9
treedff5921a27c570b0f523a9b452cb8253dcb70ffc
parentc3c5b2f35531bf029847ca9d92c85a58a4a78672
luasec: use gcc to link instead of ld

Linking with ld is not portable and was causing problems for some
targets, e.g. i386_pentium4:
i486-openwrt-linux-musl-ld: x509.o: in function `push_asn1_objname':
x509.c:(.text+0x61): undefined reference to `__stack_chk_fail_local'
...

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
lang/luasec/Makefile