fix io_xxxx Makefiles
PATCH 1/1 fix io_xxxx Makefiles
Hi!
Makefiles for io_xxx syscall tests contains line:
LDFLAGS += $(AIO_LIBS)
Which leads to wrong order of flags passed to the
linker and compilation failure on certain linux
systems. Changing these lines to:
LDLIBS += $(AIO_LIBS)
Fixes this problem. Patch is attached.
Signed-off-by Cyril Hrubis [email protected]
Signature · 2 lines
Cyril Hrubis [email protected]
testcases/kernel/syscalls/io_cancel/Makefile +1 -1
@@ -20,6 +20,6 @@ top_srcdir ?= ../../../.. include $(top_srcdir)/include/mk/testcases.mk -LDFLAGS += $(AIO_LIBS) +LDLIBS += $(AIO_LIBS) include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/kernel/syscalls/io_destroy/Makefile +1 -1
@@ -20,6 +20,6 @@ top_srcdir ?= ../../../.. include $(top_srcdir)/include/mk/testcases.mk -LDFLAGS += $(AIO_LIBS) +LDLIBS += $(AIO_LIBS) include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/kernel/syscalls/io_getevents/Makefile +1 -1
@@ -20,6 +20,6 @@ top_srcdir ?= ../../../.. include $(top_srcdir)/include/mk/testcases.mk -LDFLAGS += $(AIO_LIBS) +LDLIBS += $(AIO_LIBS) include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/kernel/syscalls/io_setup/Makefile +1 -1
@@ -20,6 +20,6 @@ top_srcdir ?= ../../../.. include $(top_srcdir)/include/mk/testcases.mk -LDFLAGS += $(AIO_LIBS) +LDLIBS += $(AIO_LIBS) include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/kernel/syscalls/io_submit/Makefile +1 -1
@@ -20,6 +20,6 @@ top_srcdir ?= ../../../.. include $(top_srcdir)/include/mk/testcases.mk -LDFLAGS += $(AIO_LIBS) +LDLIBS += $(AIO_LIBS) include $(top_srcdir)/include/mk/generic_leaf_target.mk
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list