Source-Changes-HG archive

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

[src/trunk]: src/sys/modules/dtrace/linux_syscall Really disable unsupported ...



details:   https://anonhg.NetBSD.org/src/rev/e3378e8edfe0
branches:  trunk
changeset: 323276:e3378e8edfe0
user:      kamil <kamil%NetBSD.org@localhost>
date:      Wed Jun 06 17:54:33 2018 +0000

description:
Really disable unsupported $CC flag for LLVM

The build of kernel modules works now:

  ./build.sh -V MKLLVM=yes -V MKGCC=no -V HAVE_LLVM=yes modules

Sponsored by <The NetBSD Foundation>

diffstat:

 sys/modules/dtrace/linux_syscall/Makefile |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r c391dc779b74 -r e3378e8edfe0 sys/modules/dtrace/linux_syscall/Makefile
--- a/sys/modules/dtrace/linux_syscall/Makefile Wed Jun 06 17:47:10 2018 +0000
+++ b/sys/modules/dtrace/linux_syscall/Makefile Wed Jun 06 17:54:33 2018 +0000
@@ -11,8 +11,7 @@
                -I${NETBSDSRCDIR}/external/cddl/osnet/dist/uts/common \
                -I${NETBSDSRCDIR}/external/cddl/osnet/dev/dtrace
 
-CPPFLAGS+=     -Wno-unknown-pragmas \
-               -Wno-discarded-qualifiers
+CPPFLAGS+=     -Wno-unknown-pragmas
 
 .if defined(HAVE_GCC)
 CPPFLAGS+=     -Wno-discarded-qualifiers



Home | Main Index | Thread Index | Old Index