tools: expat: fix build on older host systems
authorJo-Philipp Wich <jo@mein.io>
Tue, 18 Jul 2017 20:50:11 +0000 (22:50 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Jul 2017 21:00:45 +0000 (23:00 +0200)
commit7c727c6fa427dba9e43aaf3648d12af19a4858f1
tree9b27628cb7e346025d7673e034a6b9455063b77f
parentb4ce088f06c5ee5c055f45361d03ac3ffcaaf2cf
tools: expat: fix build on older host systems

Expat release 2.2.2 requires support for either syscall(SYS_getrandom) which
is available on Linux 3.17 or support for getrandom() which is only available
in glibc 2.25 or later.

Since some of our builders still run on Linux 3.16, we need to forcibly
disable the use of getrandom() for the host builds.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
tools/expat/Makefile