make: fix build with glibc 2.27
authorBaruch Siach <baruch@tkos.co.il>
Sat, 17 Mar 2018 21:11:06 +0000 (23:11 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 18 Mar 2018 14:16:46 +0000 (15:16 +0100)
commit157231405d219e484aa3829acff23569f6a60d00
tree572e1b189b9794067c64a224f24742032f97695b
parent7fb6e782542fc440c2da226ec4525236d0508b77
make: fix build with glibc 2.27

glibc 2.27 changed _GNU_GLOB_INTERFACE_VERSION to 2. This triggers build
of the internal glob implementation in make. This internal
implementation needs the __alloca symbol that glibc does not define.

Add upstream patch that adds support for _GNU_GLOB_INTERFACE_VERSION 2.

Add host-pkgconf dependency for the PKG_CHECK_MODULES macro. This macro
is only used for guile, which we currently disable unconditionally. So
host-pkgconf is only needed now so that autoreconf generates a valid
configure script.

Fixes:
http://autobuild.buildroot.net/results/8ff/8ff06ad8438cfcac85577b24675dd1d66f7d3d03/
http://autobuild.buildroot.net/results/5cc/5ccee6bb332e800e81052a3094746edde83403b1/
http://autobuild.buildroot.net/results/841/8418f5ed56dacd6900946e7d56ad36ad03c7bf7e/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/make/0001-configure.ac-Support-GLIBC-glob-interface-version-2.patch [new file with mode: 0644]
package/make/make.mk