Index: head/libexec/rtld-elf/tests/Makefile =================================================================== --- head/libexec/rtld-elf/tests/Makefile (revision 315039) +++ head/libexec/rtld-elf/tests/Makefile (revision 315040) @@ -1,8 +1,9 @@ # $FreeBSD$ SUBDIR+= libpythagoras target SUBDIR_DEPEND_target= libpythagoras ATF_TESTS_C= ld_library_pathfds +WARNS?= 3 .include Index: head/libexec/rtld-elf/tests/libpythagoras/Makefile =================================================================== --- head/libexec/rtld-elf/tests/libpythagoras/Makefile (revision 315039) +++ head/libexec/rtld-elf/tests/libpythagoras/Makefile (revision 315040) @@ -1,15 +1,16 @@ # $FreeBSD$ .include LIB= pythagoras SHLIB_MAJOR= 0 LIBDIR= ${TESTSBASE}/libexec/rtld-elf SHLIBDIR= ${TESTSBASE}/libexec/rtld-elf SRCS= pythagoras.c +WARNS?= 6 LIBADD= m .include Index: head/libexec/rtld-elf/tests/target/Makefile =================================================================== --- head/libexec/rtld-elf/tests/target/Makefile (revision 315039) +++ head/libexec/rtld-elf/tests/target/Makefile (revision 315040) @@ -1,16 +1,17 @@ # $FreeBSD$ .include PROG= target BINDIR= ${TESTSBASE}/libexec/rtld-elf +WARNS?= 3 CFLAGS+= -I${.CURDIR}/../libpythagoras LDFLAGS+= -L${.OBJDIR}/../libpythagoras DPADD+= ${.OBJDIR}/../libpythagoras/libpythagoras.a LDADD= -lpythagoras MAN= .include