The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / aiccu / 0003-clock-suite-functions-fix.patch
1 aiccu: fix undefined reference to clock_* functions
2
3 Since glibc 2.17 the clock_* suite functions are available directly in 
4 the main C library. For previous versions we still need -lrt to link.
5
6 Signed-off-by: Vicente Olivert Riera <vincent.riera@imgtec.com>
7
8 --- aiccu/unix-console/Makefile.orig    2014-01-14 10:17:20.204602513 +0000
9 +++ aiccu/unix-console/Makefile 2014-01-14 10:17:31.435777359 +0000
10 @@ -42,7 +42,7 @@ CFLAGS        += -D AICCU_CONSOLE
11  # Currently defaultly builds only on Linux, but other platforms might easily also support it
12  ifeq ($(shell uname | grep -c "Linux"),1)
13  CFLAGS += -D AICCU_GNUTLS
14 -LDFLAGS += -lgnutls
15 +LDFLAGS += -lgnutls -lrt
16  endif
17  
18  # Linux