Print this page
10804 Enable unused warnings outside of uts
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Toomas Soome <tsoome@me.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/libld/Makefile.com
          +++ new/usr/src/cmd/sgs/libld/Makefile.com
↓ open down ↓ 84 lines elided ↑ open up ↑
  85   85  include         $(SRC)/cmd/sgs/Makefile.com
  86   86  
  87   87  SRCDIR =        ../common
  88   88  
  89   89  CERRWARN += -_gcc=-Wno-unused-value
  90   90  CERRWARN += -_gcc=-Wno-parentheses
  91   91  CERRWARN += -_gcc=-Wno-uninitialized
  92   92  CERRWARN += -_gcc=-Wno-switch
  93   93  CERRWARN += -_gcc=-Wno-char-subscripts
  94   94  CERRWARN += -_gcc=-Wno-type-limits
       95 +$(RELEASE_BUILD)CERRWARN += -_gcc=-Wno-unused
  95   96  
  96   97  SMOFF += no_if_block
  97   98  
  98   99  # Location of the shared relocation engines maintained under usr/src/uts.
  99  100  #
 100  101  KRTLD_I386 = $(SRCBASE)/uts/$(VAR_PLAT_i386)/krtld
 101  102  KRTLD_AMD64 = $(SRCBASE)/uts/$(VAR_PLAT_amd64)/krtld
 102  103  KRTLD_SPARC = $(SRCBASE)/uts/$(VAR_PLAT_sparc)/krtld
 103  104  
 104  105  
↓ open down ↓ 47 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX