snd_timer01: Fix compilation
PATCH 1/1 snd_timer01: Fix compilation
On a few older distributions the timer functions used in fuzzy sync library needs -lrt and also -pthread has to be in CFLAGS instead.
Signed-off-by Cyril Hrubis <[email protected]>
--- testcases/kernel/sound/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
testcases/kernel/sound/Makefile +2 -2
@@ -6,7 +6,7 @@ include $(top_srcdir)/include/mk/testcases.mk CPPFLAGS += -D_GNU_SOURCE -LDLIBS += -pthread - +snd_timer01: CFLAGS+=-pthread +snd_timer01: LDLIBS+=-lrt include $(top_srcdir)/include/mk/generic_leaf_target.mk
Signature · 1 line
2.21.0