Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/lib/libdtrace do the stack protector stu...
details: https://anonhg.NetBSD.org/src/rev/9f3068184d15
branches: trunk
changeset: 340768:9f3068184d15
user: christos <christos%NetBSD.org@localhost>
date: Wed Sep 30 00:17:09 2015 +0000
description:
do the stack protector stuff like the other files.
diffstat:
external/cddl/osnet/lib/libdtrace/Makefile | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 367a83707743 -r 9f3068184d15 external/cddl/osnet/lib/libdtrace/Makefile
--- a/external/cddl/osnet/lib/libdtrace/Makefile Tue Sep 29 23:50:52 2015 +0000
+++ b/external/cddl/osnet/lib/libdtrace/Makefile Wed Sep 30 00:17:09 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2015/09/29 23:50:17 christos Exp $
+# $NetBSD: Makefile,v 1.13 2015/09/30 00:17:09 christos Exp $
# $FreeBSD: src/cddl/lib/libdtrace/Makefile,v 1.2.2.1 2009/08/03 08:13:06 kensmith Exp $
@@ -83,6 +83,7 @@
COPTS.dt_options.c += -Wno-stack-protector
COPTS.dt_parser.c += -Wno-stack-protector
COPTS.dt_pragma.c += -Wno-stack-protector
+COPTS.dt_print.c += -Wno-stack-protector
COPTS.dt_printf.c += -Wno-stack-protector
COPTS.dt_program.c += -Wno-stack-protector
COPTS.dt_provider.c += -Wno-stack-protector
@@ -107,10 +108,6 @@
CLEANFILES= dt_errtags.c dt_names.c dt_grammar.h
-.if ${_HOST_OSNAME} == "Darwin"
-COPTS.dt_print.c+= -fno-stack-protector
-.endif
-
MKERRTAGS=${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common/mkerrtags.sh
dt_errtags.c: ${MKERRTAGS} ${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common/dt_errtags.h
sh ${MKERRTAGS} < ${.ALLSRC:M*.h} > ${.TARGET}
Home |
Main Index |
Thread Index |
Old Index