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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/fm/libfmd_msg/Makefile.com
          +++ new/usr/src/lib/fm/libfmd_msg/Makefile.com
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35  
  36   36  SRCS = $(LIBSRCS:%.c=../common/%.c)
  37   37  LIBS = $(DYNLIB) $(LINTLIB)
  38   38  
  39   39  SRCDIR =        ../common
  40   40  
  41   41  CPPFLAGS += -I../common -I.
  42   42  CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
  43   43  CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
  44   44  CERRWARN += -_gcc=-Wno-switch
  45      -CERRWARN += -_gcc=-Wno-uninitialized
       45 +CERRWARN += $(CNOWARN_UNINIT)
  46   46  
  47   47  SMOFF += all_func_returns
  48   48  
  49   49  LDLIBS += -lnvpair -lc
  50   50  
  51   51  LINTFLAGS = -msux
  52   52  LINTFLAGS64 = -msux -m64
  53   53  
  54   54  CLOBBERFILES += fmd_msg_test fmd_msg_test.core fmd_msg_test.out
  55   55  
↓ open down ↓ 47 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX