perl: fix musl compatibility 1403/head
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 17 Jun 2015 15:36:03 +0000 (17:36 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 17 Jun 2015 15:42:00 +0000 (17:42 +0200)
commitf9ac3e632bf2ac5d2c7c7ed9951c0694e09773ef
tree0a22581a70f5e24a50edfa666e8c1e9dac012c50
parent4116e327afee80aaea33a16358f5f7c0da687bec
perl: fix musl compatibility

 - Add patch to inhibit the libm IEEE math switch on musl
 - Add postprocessing for config.sh to the Makefile to fixup
   defines for musl, idea taken
   from http://patchwork.openembedded.org/patch/91707/

This is the least invasive approach I could come up to fix the build
failure asap. Another possibility is maintaining yet another set of
musl specific architecture config files, but I think that this introduces
a lot of maintenance overhead.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
lang/perl/Makefile
lang/perl/patches/100-musl-compat.patch [new file with mode: 0644]