summaryrefslogtreecommitdiff
path: root/usr/src/lib/libmtmalloc
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2020-05-26 13:57:13 +0000
committerJohn Levon <john.levon@joyent.com>2020-05-26 13:57:13 +0000
commit5b2acc0949194447bba6e45a0fa44d0b5f42f208 (patch)
tree7ea9eb87bc68fee386dd39035ce715e87a0e673c /usr/src/lib/libmtmalloc
parent8ca018083101bf1cb175869679bc123187fb1bab (diff)
parent2a1277d3064386cd5c4e372301007aa330bf1d5e (diff)
downloadillumos-joyent-gcc9.tar.gz
mergegcc9
Diffstat (limited to 'usr/src/lib/libmtmalloc')
-rw-r--r--usr/src/lib/libmtmalloc/Makefile5
-rw-r--r--usr/src/lib/libmtmalloc/Makefile.com13
2 files changed, 5 insertions, 13 deletions
diff --git a/usr/src/lib/libmtmalloc/Makefile b/usr/src/lib/libmtmalloc/Makefile
index aa5cccd34b..65dc0f351a 100644
--- a/usr/src/lib/libmtmalloc/Makefile
+++ b/usr/src/lib/libmtmalloc/Makefile
@@ -22,8 +22,6 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
include ../Makefile.lib
@@ -46,12 +44,11 @@ all := TARGET= all
install := TARGET= install
clean := TARGET= clean
clobber := TARGET= clobber
-lint := TARGET= lint
install_h := TARGET= install_h
.KEEP_STATE:
-all install clean clobber lint: $(SUBDIRS)
+all install clean clobber: $(SUBDIRS)
install_h: $(ROOTHDRS)
diff --git a/usr/src/lib/libmtmalloc/Makefile.com b/usr/src/lib/libmtmalloc/Makefile.com
index ef87819122..e859cee11d 100644
--- a/usr/src/lib/libmtmalloc/Makefile.com
+++ b/usr/src/lib/libmtmalloc/Makefile.com
@@ -33,16 +33,12 @@ include ../../Makefile.lib
SRCDIR = ../common
SRCS = ../common/mtmalloc.c
-LINTSRC = $(LINTLIB:%.ln=%)
-LIBS = $(DYNLIB) $(LINTLIB)
-LDLIBS += -lc
-CFLAGS += $(CCVERBOSE) $(C_PICFLAGS)
+LIBS = $(DYNLIB)
+LDLIBS += -lc
+CFLAGS += $(CCVERBOSE) $(C_PICFLAGS)
CPPFLAGS += -I../common -I../../common/inc -D_REENTRANT
-DYNFLAGS += $(ZINTERPOSE)
-
-$(LINTLIB) lint := LINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN
-$(LINTLIB) lint := LINTFLAGS64 += -erroff=E_BAD_PTR_CAST_ALIGN
+DYNFLAGS += $(ZINTERPOSE)
CERRWARN += $(CNOWARN_UNINIT)
@@ -50,7 +46,6 @@ CERRWARN += $(CNOWARN_UNINIT)
all: $(LIBS)
-lint: lintcheck
# include library targets
include ../../Makefile.targ