Skip to contentSkip to conversation

fix io_xxxx Makefiles

PATCH New Cyril Hrubis 1 participant 1 message May 27, 2010

lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
Cyril Hrubis
[email protected]
testcases/kernel/syscalls/io_cancel/Makefile +1 -1
Index: ltp-full-20100430/testcases/kernel/syscalls/io_cancel/Makefile
===================================================================
@@ -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
Index: ltp-full-20100430/testcases/kernel/syscalls/io_destroy/Makefile
===================================================================
@@ -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
Index: ltp-full-20100430/testcases/kernel/syscalls/io_getevents/Makefile
===================================================================
@@ -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
Index: ltp-full-20100430/testcases/kernel/syscalls/io_setup/Makefile
===================================================================
@@ -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
Index: ltp-full-20100430/testcases/kernel/syscalls/io_submit/Makefile
===================================================================
@@ -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