Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/matt-nb6-plus]: src/tests Conditionalize use of --no-fatal-warnings on $...



details:   https://anonhg.NetBSD.org/src/rev/9a05e739de31
branches:  matt-nb6-plus
changeset: 774496:9a05e739de31
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Nov 20 23:26:54 2012 +0000

description:
Conditionalize use of --no-fatal-warnings on ${HAVE_BINUTILS} == "219"

diffstat:

 tests/crypto/libcrypto/idea/Makefile |  4 +++-
 tests/crypto/libcrypto/mdc2/Makefile |  4 +++-
 tests/crypto/libcrypto/rc5/Makefile  |  4 +++-
 tests/lib/libcurses/slave/Makefile   |  7 +++++--
 4 files changed, 14 insertions(+), 5 deletions(-)

diffs (69 lines):

diff -r 337b4c9ee155 -r 9a05e739de31 tests/crypto/libcrypto/idea/Makefile
--- a/tests/crypto/libcrypto/idea/Makefile      Tue Nov 20 23:25:41 2012 +0000
+++ b/tests/crypto/libcrypto/idea/Makefile      Tue Nov 20 23:26:54 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3.6.1 2012/11/01 16:45:06 matt Exp $
+# $NetBSD: Makefile,v 1.3.6.2 2012/11/20 23:26:54 matt Exp $
 
 HELPER_NAME=   ideatest
 HELPER_DIR=    idea
@@ -7,4 +7,6 @@
 
 LDADD= -lcrypto
 
+.if ${HAVE_BINUTILS} == "219"
 LDADD+=                -Wl,--no-fatal-warnings
+.endif
diff -r 337b4c9ee155 -r 9a05e739de31 tests/crypto/libcrypto/mdc2/Makefile
--- a/tests/crypto/libcrypto/mdc2/Makefile      Tue Nov 20 23:25:41 2012 +0000
+++ b/tests/crypto/libcrypto/mdc2/Makefile      Tue Nov 20 23:26:54 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3.6.1 2012/11/01 16:45:06 matt Exp $
+# $NetBSD: Makefile,v 1.3.6.2 2012/11/20 23:26:54 matt Exp $
 
 HELPER_NAME=   mdc2test
 HELPER_DIR=    mdc2
@@ -7,4 +7,6 @@
 
 LDADD= -lcrypto
 
+.if ${HAVE_BINUTILS} == "219"
 LDADD+=         -Wl,--no-fatal-warnings
+.endif
diff -r 337b4c9ee155 -r 9a05e739de31 tests/crypto/libcrypto/rc5/Makefile
--- a/tests/crypto/libcrypto/rc5/Makefile       Tue Nov 20 23:25:41 2012 +0000
+++ b/tests/crypto/libcrypto/rc5/Makefile       Tue Nov 20 23:26:54 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2011/07/05 10:03:10 spz Exp $
+# $NetBSD: Makefile,v 1.3.6.1 2012/11/20 23:26:54 matt Exp $
 
 HELPER_NAME=   rc5test
 HELPER_DIR=    rc5
@@ -11,4 +11,6 @@
 CPPFLAGS+= -DOPENSSL_NO_RC5
 .endif
 
+.if ${HAVE_BINUTILS} == "219"
 LDADD+=                -Wl,--no-fatal-warnings
+.endif
diff -r 337b4c9ee155 -r 9a05e739de31 tests/lib/libcurses/slave/Makefile
--- a/tests/lib/libcurses/slave/Makefile        Tue Nov 20 23:25:41 2012 +0000
+++ b/tests/lib/libcurses/slave/Makefile        Tue Nov 20 23:26:54 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2011/09/08 18:44:38 jmmv Exp $
+#      $NetBSD: Makefile,v 1.6.6.1 2012/11/20 23:26:54 matt Exp $
 #
 .include <bsd.own.mk>
 
@@ -12,7 +12,10 @@
 SRCS=  slave.c commands.c curses_commands.c
 
 CPPFLAGS+=     -g -I${.CURDIR} -I. -I${.CURDIR}/../director
-LDADD+=                -lcurses -lterminfo -Wl,--no-fatal-warnings
+LDADD+=                -lcurses -lterminfo
+.if ${HAVE_BINUTILS} == "219"
+LDADD+=                -Wl,--no-fatal-warnings
+.endif
 
 COPTS.curses_commands.c += -Wno-format-nonliteral
 CWARNFLAGS.clang+=     -Wno-format



Home | Main Index | Thread Index | Old Index