Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libcurses Remove "-g" from CPPFLAGS and LDFLAGS in...



details:   https://anonhg.NetBSD.org/src/rev/3301159f1e96
branches:  trunk
changeset: 326127:3301159f1e96
user:      apb <apb%NetBSD.org@localhost>
date:      Sun Jan 19 21:50:17 2014 +0000

description:
Remove "-g" from CPPFLAGS and LDFLAGS in curses tests.

The debug information contains embedded references to the src directory,
which is bad for reproducible builds.

diffstat:

 tests/lib/libcurses/director/Makefile |  5 ++---
 tests/lib/libcurses/slave/Makefile    |  4 ++--
 2 files changed, 4 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r 1accf9323bda -r 3301159f1e96 tests/lib/libcurses/director/Makefile
--- a/tests/lib/libcurses/director/Makefile     Sun Jan 19 18:16:13 2014 +0000
+++ b/tests/lib/libcurses/director/Makefile     Sun Jan 19 21:50:17 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2012/06/03 02:10:46 joerg Exp $
+#      $NetBSD: Makefile,v 1.7 2014/01/19 21:50:17 apb Exp $
 #
 .include <bsd.own.mk>
 
@@ -12,8 +12,7 @@
 SRCS=  testlang_parse.y testlang_conf.l director.c
 
 YHEADER=       1
-CPPFLAGS+=     -O0 -g -I${.CURDIR} -I.
-LDFLAGS+=      -g
+CPPFLAGS+=     -O0 -I${.CURDIR} -I.
 DPADD+=                ${LIBL}
 LDADD+=                -ll -lutil -lc
 
diff -r 1accf9323bda -r 3301159f1e96 tests/lib/libcurses/slave/Makefile
--- a/tests/lib/libcurses/slave/Makefile        Sun Jan 19 18:16:13 2014 +0000
+++ b/tests/lib/libcurses/slave/Makefile        Sun Jan 19 21:50:17 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2011/09/08 18:44:38 jmmv Exp $
+#      $NetBSD: Makefile,v 1.7 2014/01/19 21:50:17 apb Exp $
 #
 .include <bsd.own.mk>
 
@@ -11,7 +11,7 @@
 #MAN=  slave.7
 SRCS=  slave.c commands.c curses_commands.c
 
-CPPFLAGS+=     -g -I${.CURDIR} -I. -I${.CURDIR}/../director
+CPPFLAGS+=     -I${.CURDIR} -I. -I${.CURDIR}/../director
 LDADD+=                -lcurses -lterminfo -Wl,--no-fatal-warnings
 
 COPTS.curses_commands.c += -Wno-format-nonliteral



Home | Main Index | Thread Index | Old Index