Print this page
3946 ::gcore
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
*** 20,29 ****
--- 20,31 ----
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2013 by Delphix. All rights reserved.
+ #
MODULE = genunix.so
MDBTGT = kvm
include ../../../common/modules/genunix/Makefile.files
*** 45,55 ****
include ../../../../Makefile.cmd
include ../../Makefile.ia32
include ../../../Makefile.module
! dmod/$(MODULE) := LDLIBS += -lm
#
# We are not actually hardwiring some dependency on i86pc, we just need to
# include sys/param.h with _MACHDEP defined, and this forces the inclusion of
# machparam.h, even though we don't use anything there. This is a temporary
--- 47,57 ----
include ../../../../Makefile.cmd
include ../../Makefile.ia32
include ../../../Makefile.module
! dmod/$(MODULE) := LDLIBS += -lm -lproc
#
# We are not actually hardwiring some dependency on i86pc, we just need to
# include sys/param.h with _MACHDEP defined, and this forces the inclusion of
# machparam.h, even though we don't use anything there. This is a temporary
*** 67,71 ****
--- 69,75 ----
CERRWARN += -_gcc=-Wno-char-subscripts
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-type-limits
+
+ LINTFLAGS += -erroff=E_EMPTY_TRANSLATION_UNIT