Skip to contentSkip to conversation

pty03: Add -lrt into LDFLAGS

PATCH New Cyril Hrubis 1 participant 1 message Jan 28, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pty03: Add -lrt into LDFLAGS

Older distributions needs -lrt for clock_* functions.

---
 testcases/kernel/pty/Makefile | 1 +
 1 file changed, 1 insertion(+)
testcases/kernel/pty/Makefile +1 -0
index 88101a6b8..8fed1b510 100644
@@ -27,5 +27,6 @@ include $(top_srcdir)/include/mk/testcases.mk
 CPPFLAGS		+= -D_GNU_SOURCE
 
 pty03: CFLAGS += -pthread
+pty03: LDFLAGS += -lrt
 
 include $(top_srcdir)/include/mk/generic_leaf_target.mk
Signature · 1 line
2.23.0