pty03: Add -lrt into LDFLAGS
PATCH 1/1 pty03: Add -lrt into LDFLAGS
Older distributions needs -lrt for clock_* functions.
Signed-off-by Cyril Hrubis <[email protected]>
--- testcases/kernel/pty/Makefile | 1 + 1 file changed, 1 insertion(+)
testcases/kernel/pty/Makefile +1 -0
@@ -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