Print this page
10080 smatch Makefile changes for usr/src/cmd

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/perl/Makefile.targ
          +++ new/usr/src/cmd/perl/Makefile.targ
↓ open down ↓ 3 lines elided ↑ open up ↑
   4    4  # You may only use this file in accordance with the terms of version
   5    5  # 1.0 of the CDDL.
   6    6  #
   7    7  # A full copy of the text of the CDDL should have accompanied this
   8    8  # source.  A copy of the CDDL is also available via the Internet at
   9    9  # http://www.illumos.org/license/CDDL.
  10   10  #
  11   11  #
  12   12  # Copyright (c) 2014 Racktop Systems.
  13   13  # Copyright 2015, OmniTI Computer Consulting, Inc. All rights reserved.
  14      -#
       14 +# Copyright (c) 2018, Joyent, Inc.
  15   15  
  16   16  # Link against libc as perl solaris specs
  17   17  $(PERLEXT):= LDLIBS += -lc
  18   18  
  19   19  # Allow for undefined symbols satisfied by perl
  20   20  $(PERLEXT):= ZDEFS =
  21   21  
  22   22  $(ROOTPERLEXT) := FILEMODE = 0555
  23   23  $(ROOTPERLMOD) := FILEMODE = 0444
  24   24  
  25   25  # CFLAGS for perl, specifically.
  26   26  PCFLAGS= -DPERL_EUPXS_ALWAYS_EXPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
  27   27          -DPERL_USE_SAFE_PUTENV -D_TS_ERRNO
  28   28  
       29 +SMATCH=off
       30 +
  29   31  $(MACH):
  30   32          $(INS.dir)
  31   33  
  32   34  $(PERLEXT): $(MACH)/$(MODULE).o
  33   35          $(BUILD.SO) $(MACH)/$(MODULE).o
  34   36  
  35   37  $(MACH)/$(MODULE).o: $(MACH)/$(MODULE).c
  36   38          $(COMPILE.c) $(PCFLAGS) $(C_PICFLAGS) -I$(PERLINCDIR) $< -o $@
  37   39  
  38   40  $(MACH)/$(MODULE).c: $(MACH) $(MODULE).xs 
↓ open down ↓ 13 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX