Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/pkcs11/pkcs11_tpm/Makefile.com
          +++ new/usr/src/lib/pkcs11/pkcs11_tpm/Makefile.com
↓ open down ↓ 87 lines elided ↑ open up ↑
  88   88  TSSLIB64=-L$(TSPILIBDIR)/$(MACH64)
  89   89  TSSINC=-I$(TSPIINCDIR)
  90   90  
  91   91  LDLIBS += $(TSSLIB) -L$(ADJUNCT_PROTO)/lib -lc -luuid -lmd -ltspi -lsoftcrypto
  92   92  CPPFLAGS += -xCC -D_POSIX_PTHREAD_SEMANTICS $(TSSINC) $(SOFTCRYPTOFLAGS)
  93   93  CPPFLAGS64 += $(CPPFLAGS)
  94   94  CSTD=        $(CSTD_GNU99)
  95   95  
  96   96  CERRWARN +=     -_gcc=-Wno-parentheses
  97   97  CERRWARN +=     -_gcc=-Wno-unused-label
  98      -CERRWARN +=     -_gcc=-Wno-uninitialized
       98 +CERRWARN +=     $(CNOWARN_UNINIT)
  99   99  
 100  100  # not linted
 101  101  SMATCH=off
 102  102  
 103  103  LINTSRC= $(OBJECTS:%.o=$(SRCDIR)/%.c)
 104  104  
 105  105  $(LINTLIB):=    SRCS    =       $(SRCDIR)/$(LINTSRC)
 106  106  LINTSRC= $(SRCS)
 107  107  
 108  108  CLOBBERFILES += C.ln
↓ open down ↓ 13 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX