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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/elfedit/modules/Makefile.com
          +++ new/usr/src/cmd/sgs/elfedit/modules/Makefile.com
↓ open down ↓ 91 lines elided ↑ open up ↑
  92   92  MAPFILES = ../common/mapfile-vers
  93   93  
  94   94  CPPFLAGS +=     -I../../../include -I../../../include/$(MACH) \
  95   95                  -I../$(SRCBASE)/lib/libc/inc  -D_REENTRANT
  96   96  LLDFLAGS =      '-R$$ORIGIN/../../../lib'
  97   97  LLDFLAGS64 =    '-R$$ORIGIN/../../../../lib/$(MACH64)'
  98   98  LDFLAGS +=      $(CC_USE_PROTO) $(LLDFLAGS)
  99   99  DYNFLAGS +=     $(VERSREF)
 100  100  
 101  101  CERRWARN +=     -_gcc=-Wno-switch
 102      -CERRWARN +=     -_gcc=-Wno-uninitialized
      102 +CERRWARN +=     $(CNOWARN_UNINIT)
 103  103  
 104  104  BLTDEFS =       $(ELFEDITLIBS:%.so=%_msg.h)
 105  105  BLTDATA =       $(ELFEDITLIBS:%.so=%_msg.c)
 106  106  BLTFILES =      $(BLTDEFS) $(BLTDATA)
 107  107  
 108  108  CLEANFILES +=   $(BLTFILES) $(PICDIR)/*
 109  109  CLOBBERFILES += $(ELFEDITLIBS)
 110  110  
 111  111  ROOTELFEDITDIR=         $(ROOT)/usr/lib/elfedit
 112  112  ROOTELFEDITDIR64=       $(ROOT)/usr/lib/elfedit/$(MACH64)
↓ open down ↓ 13 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX