[Midnightbsd-cvs] src [7703] trunk/sys/modules/mach/Makefile: experiment with options

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Aug 11 21:18:18 EDT 2016


Revision: 7703
          http://svnweb.midnightbsd.org/src/?rev=7703
Author:   laffer1
Date:     2016-08-11 21:18:17 -0400 (Thu, 11 Aug 2016)
Log Message:
-----------
experiment with options

Modified Paths:
--------------
    trunk/sys/modules/mach/Makefile

Modified: trunk/sys/modules/mach/Makefile
===================================================================
--- trunk/sys/modules/mach/Makefile	2016-08-12 01:17:00 UTC (rev 7702)
+++ trunk/sys/modules/mach/Makefile	2016-08-12 01:18:17 UTC (rev 7703)
@@ -5,11 +5,14 @@
 .PATH: ${SYSDIR}/compat/mach/ipc
 .PATH: ${SYSDIR}/compat/mach/kern
 
-WARNS=0
-CC=clang
 
 KMOD=	mach
+DEBUG_FLAGS+= -g -O0
 
+.if .defined(X_COMPILER_TYPE) && ${X_COMPILER_TYPE} == gcc
+WERROR=
+.endif
+
 SRCS=	bus_if.h device_if.h vnode_if.h opt_compat_mach.h opt_ntp.h opt_capsicum.h
 # MIG autogenerated:
 SRCS+= host_priv_server.c mach_host_server.c mach_port_server.c mach_vm_server.c 
@@ -26,4 +29,4 @@
 SRCS+= ipc_tt.c ipc_host.c task.c thread_pool.c
 .include <bsd.kmod.mk>
 CFLAGS+= -I${SYSDIR}/../include/apple -DCOMPAT_MACH
-DEBUG_FLAGS+= -g -O0
+



More information about the Midnightbsd-cvs mailing list