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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ldmad/Makefile
          +++ new/usr/src/cmd/ldmad/Makefile
↓ open down ↓ 57 lines elided ↑ open up ↑
  58   58  
  59   59  ROOTCMDDIR=             $(ROOTLIB)/ldoms
  60   60  ROOTMANIFESTDIR=        $(ROOTSVCPLATFORMSUN4V)
  61   61  $(ROOTMANIFEST)         := FILEMODE= 444
  62   62  
  63   63  LDLIBS +=       -lds -ldladm -ldevinfo -lpri
  64   64  INCS +=         -I$(ROOT)/usr/platform/sun4v/include/sys
  65   65  INCS +=         -I$(SRC)/uts/sun4v
  66   66  CPPFLAGS +=     -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(INCS)
  67   67  CSTD =  $(CSTD_GNU99)
  68      -CERRWARN +=     -_gcc=-Wno-uninitialized
       68 +CERRWARN +=     $(CNOWARN_UNINIT)
  69   69  
  70   70  LINTFLAGS += -erroff=E_BAD_PTR_CAST_ALIGN
  71   71  
  72   72  .KEEP_STATE:
  73   73  
  74   74  all: $(PROG) 
  75   75  
  76   76  $(PROG): $(OBJS)
  77   77          $(CC) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
  78   78          $(POST_PROCESS)
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX