Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/modules/dtrace Disable errors reported by unknown pragma...
details: https://anonhg.NetBSD.org/src/rev/45f0a17fa9e8
branches: trunk
changeset: 759684:45f0a17fa9e8
user: haad <haad%NetBSD.org@localhost>
date: Tue Dec 14 23:27:47 2010 +0000
description:
Disable errors reported by unknown pragmas in dtrace module.
diffstat:
sys/modules/dtrace/dtrace/Makefile | 2 ++
sys/modules/dtrace/fbt/Makefile | 2 ++
sys/modules/dtrace/sdt/Makefile | 2 ++
3 files changed, 6 insertions(+), 0 deletions(-)
diffs (32 lines):
diff -r 6d5360d0a03b -r 45f0a17fa9e8 sys/modules/dtrace/dtrace/Makefile
--- a/sys/modules/dtrace/dtrace/Makefile Tue Dec 14 23:27:37 2010 +0000
+++ b/sys/modules/dtrace/dtrace/Makefile Tue Dec 14 23:27:47 2010 +0000
@@ -27,6 +27,8 @@
CPPFLAGS+= -DSMP -DDEBUG
+CPPFLAGS+= -Wno-unknown-pragmas
+
EXPORT_SYMS= dtrace_register \
dtrace_unregister \
dtrace_probe_lookup
diff -r 6d5360d0a03b -r 45f0a17fa9e8 sys/modules/dtrace/fbt/Makefile
--- a/sys/modules/dtrace/fbt/Makefile Tue Dec 14 23:27:37 2010 +0000
+++ b/sys/modules/dtrace/fbt/Makefile Tue Dec 14 23:27:47 2010 +0000
@@ -11,4 +11,6 @@
-I${NETBSDSRCDIR}/external/cddl/osnet/dev/sdt \
-I${NETBSDSRCDIR}/external/cddl/osnet/dist/uts/common
+CPPFLAGS+= -Wno-unknown-pragmas
+
.include <bsd.kmodule.mk>
diff -r 6d5360d0a03b -r 45f0a17fa9e8 sys/modules/dtrace/sdt/Makefile
--- a/sys/modules/dtrace/sdt/Makefile Tue Dec 14 23:27:37 2010 +0000
+++ b/sys/modules/dtrace/sdt/Makefile Tue Dec 14 23:27:47 2010 +0000
@@ -11,4 +11,6 @@
-I${NETBSDSRCDIR}/external/cddl/osnet/dev/sdt \
-I${NETBSDSRCDIR}/external/cddl/osnet/dist/uts/common
+CPPFLAGS+= -Wno-unknown-pragmas
+
.include <bsd.kmodule.mk>
Home |
Main Index |
Thread Index |
Old Index