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/topo/libtopo/Makefile.com
          +++ new/usr/src/lib/fm/topo/libtopo/Makefile.com
↓ open down ↓ 72 lines elided ↑ open up ↑
  73   73  
  74   74  SRCDIR =        ../common
  75   75  
  76   76  CLEANFILES += $(SRCDIR)/topo_error.c $(SRCDIR)/topo_tables.c
  77   77  
  78   78  CPPFLAGS += -I../common -I$(ADJUNCT_PROTO)/usr/include/libxml2 -I.
  79   79  CSTD = $(CSTD_GNU99)
  80   80  CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
  81   81  CFLAGS += -D_POSIX_PTHREAD_SEMANTICS
  82   82  CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
  83      -CERRWARN += -_gcc=-Wno-uninitialized
       83 +CERRWARN += $(CNOWARN_UNINIT)
  84   84  CERRWARN += -_gcc=-Wno-switch
  85   85  CERRWARN += -_gcc=-Wno-parentheses
  86   86  
  87   87  LINTFLAGS = -msux
  88   88  LINTFLAGS64 = -msux -m64
  89   89  
  90   90  $(DYNLIB)  := LDLIBS += \
  91   91          -lnvpair -lelf -lumem -lxml2 -lkstat -luuid -ldevinfo \
  92   92          -lsmbios -lc -ldevid -lipmi -lscf -lpcidb
  93   93  
↓ open down ↓ 32 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX