Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -9,11 +9,11 @@
# http://www.illumos.org/license/CDDL.
#
#
# Copyright (c) 2014 Racktop Systems.
# Copyright 2015, OmniTI Computer Consulting, Inc. All rights reserved.
-#
+# Copyright (c) 2018, Joyent, Inc.
# Link against libc as perl solaris specs
$(PERLEXT):= LDLIBS += -lc
# Allow for undefined symbols satisfied by perl
@@ -24,10 +24,12 @@
# CFLAGS for perl, specifically.
PCFLAGS= -DPERL_EUPXS_ALWAYS_EXPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
-DPERL_USE_SAFE_PUTENV -D_TS_ERRNO
+SMATCH=off
+
$(MACH):
$(INS.dir)
$(PERLEXT): $(MACH)/$(MODULE).o
$(BUILD.SO) $(MACH)/$(MODULE).o