package/haproxy: fix build on m68k
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 1 Nov 2019 11:10:05 +0000 (12:10 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 19 Apr 2020 20:50:18 +0000 (22:50 +0200)
commitfb7fd98774b94d7c50f381ae4e2d005db21afb3e
tree25fb3fbc673d59bf80eb007930c217dc2cd70c41
parent198db470a73c14191915f8374362bc2a8b08c2bf
package/haproxy: fix build on m68k

When threads are enabled, haproxy expects that pthread_getcpuclockid is
available which is not the case on m68k. Fix this by enabling threads
support only if NPTL is available.

Fixes:
 - http://autobuild.buildroot.org/results/52cc4b1fcac2a4fc84ab15ec4c692d2cd9b6d8bd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/haproxy/haproxy.mk