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


  98 #CFLAGS += -DNXGE_FM
  99 #CFLAGS += -DUSE_RX_BUFF_ATTR
 100 
 101 #CFLAGS += -DNIU_PA_WORKAROUND
 102 #CFLAGS += -DNIU_HV_WORKAROUND
 103 CFLAGS += -DNIU_LP_WORKAROUND
 104 
 105 LINTFLAGS += -DSOLARIS
 106 LINTFLAGS += -DNXGE_FM
 107 LINTFLAGS += -DNIU_LP_WORKAROUND
 108 #
 109 # STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h
 110 # force us to turn off these lint checks.
 111 #
 112 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
 113 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
 114 
 115 CERRWARN        += -_gcc=-Wno-unused-label
 116 CERRWARN        += -_gcc=-Wno-parentheses
 117 CERRWARN        += -_gcc=-Wno-switch
 118 CERRWARN        += -_gcc=-Wno-uninitialized
 119 CERRWARN        += -_gcc=-Wno-type-limits
 120 
 121 #
 122 #       Driver depends on mac & IP
 123 #
 124 LDFLAGS         += -dy -N misc/mac -N drv/ip
 125 
 126 #
 127 #       Default build targets.
 128 #
 129 .KEEP_STATE:
 130 
 131 def:            $(DEF_DEPS)
 132 
 133 all:            $(ALL_DEPS)
 134 
 135 clean:          $(CLEAN_DEPS)
 136 
 137 clobber:        $(CLOBBER_DEPS)
 138 


  98 #CFLAGS += -DNXGE_FM
  99 #CFLAGS += -DUSE_RX_BUFF_ATTR
 100 
 101 #CFLAGS += -DNIU_PA_WORKAROUND
 102 #CFLAGS += -DNIU_HV_WORKAROUND
 103 CFLAGS += -DNIU_LP_WORKAROUND
 104 
 105 LINTFLAGS += -DSOLARIS
 106 LINTFLAGS += -DNXGE_FM
 107 LINTFLAGS += -DNIU_LP_WORKAROUND
 108 #
 109 # STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h
 110 # force us to turn off these lint checks.
 111 #
 112 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
 113 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
 114 
 115 CERRWARN        += -_gcc=-Wno-unused-label
 116 CERRWARN        += -_gcc=-Wno-parentheses
 117 CERRWARN        += -_gcc=-Wno-switch
 118 CERRWARN        += $(CNOWARN_UNINIT)
 119 CERRWARN        += -_gcc=-Wno-type-limits
 120 
 121 #
 122 #       Driver depends on mac & IP
 123 #
 124 LDFLAGS         += -dy -N misc/mac -N drv/ip
 125 
 126 #
 127 #       Default build targets.
 128 #
 129 .KEEP_STATE:
 130 
 131 def:            $(DEF_DEPS)
 132 
 133 all:            $(ALL_DEPS)
 134 
 135 clean:          $(CLEAN_DEPS)
 136 
 137 clobber:        $(CLOBBER_DEPS)
 138