Hi,
--static for gcc is really needed? I cannot find strong reason for it. Signed-off-by: Masatake YAMATO <[email protected]> Index: aio/aio02/Makefile =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/io/aio/aio02/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- aio/aio02/Makefile 23 Feb 2009 11:08:04 -0000 1.5 +++ aio/aio02/Makefile 17 Jun 2009 14:51:57 -0000 @@ -5,12 +5,12 @@ HARNESS_SRCS:=main.c # io_queue.c -CFLAGS+=--static -Wall -g -O -I../../../../../include -Wall +CFLAGS+=-Wall -g -O -I../../../../../include -Wall LDFLAGS+=-L../../../../../lib -lltp $(AIO_LIBS) #-lpthread -lrt all: $(PROGS) -$(PROGS): %: %.c $(HARNESS_SRCS) +$(PROGS): %: %.c $(HARNESS_SRCS) Makefile $(CC) $(CFLAGS) -DTEST_NAME=\"$<\" -o $@ main.c $(LDFLAGS) clean: Index: aio/aio02/main.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/io/aio/aio02/main.c,v retrieving revision 1.4 diff -u -r1.4 main.c --- aio/aio02/main.c 26 Feb 2009 12:02:22 -0000 1.4 +++ aio/aio02/main.c 17 Jun 2009 14:51:57 -0000 @@ -35,6 +35,7 @@ int main(void) { tst_brkm(TCONF, tst_exit, "libaio missing"); + return 0; } #endif ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
