Print this page
8516 Suppress gcc errors with -Wno- in Makefile for usr/src/cmd

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sendmail/aux/Makefile
          +++ new/usr/src/cmd/sendmail/aux/Makefile
↓ open down ↓ 10 lines elided ↑ open up ↑
  11   11  # and limitations under the License.
  12   12  #
  13   13  # When distributing Covered Code, include this CDDL HEADER in each
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
       21 +# Copyright 2017 Gary Mills
  21   22  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  22   23  # Use is subject to license terms.
  23   24  #
  24   25  
  25   26  # cmd/sendmail/aux/Makefile
  26   27  #
  27   28  include         ../../Makefile.cmd
  28   29  include         ../Makefile.cmd
  29   30  
  30   31  PROG=           mailstats mconnect vacation mailcompat praliases
↓ open down ↓ 17 lines elided ↑ open up ↑
  48   49  mail.local :=   LDLIBS += -lsocket -lnsl -lmail -lldap
  49   50  mailq :=        LDLIBS += -lsecdb
  50   51  mailstats :=    LDLIBS += -lldap
  51   52  makemap :=      LDLIBS += -lldap
  52   53  mconnect :=     LDLIBS += -lsocket -lnsl
  53   54  praliases :=    LDLIBS += -lldap
  54   55  smrsh :=        LDLIBS += -lldap
  55   56  vacation :=     LDLIBS += -lldap
  56   57  $(ROOTLIBSMTPSM)/mailq :=       FILEMODE = 4555
  57   58  
       59 +# Suppress the error for: verbose
       60 +editmap.o := CERRWARN += -_gcc=-Wno-unused-but-set-variable
       61 +
  58   62  INCPATH=        -I../src -I../db -I../include
  59   63  
  60   64  ENVDEF=         -DNOT_SENDMAIL
  61   65  SUNENVDEF=      -DSUN_EXTENSIONS -DUSE_VENDOR_CF_PATH
  62   66  DBMDEF=         -DNDBM -DNEWDB
  63   67  
  64   68  CPPFLAGS =      $(INCPATH) $(ENVDEF) $(SUNENVDEF) $(DBMDEF) $(CPPFLAGS.sm)
  65   69  
  66   70  # Nearly every support application provides sleep().  This isn't incompatible
  67   71  # with libc, but can be confined to the applications themselves.
↓ open down ↓ 58 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX