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/lib/libc/i386/Makefile.com
          +++ new/usr/src/lib/libc/i386/Makefile.com
↓ open down ↓ 1077 lines elided ↑ open up ↑
1078 1078  CERRWARN += -_gcc=-Wno-uninitialized
1079 1079  CERRWARN += -_gcc=-Wno-unused-value
1080 1080  CERRWARN += -_gcc=-Wno-unused-label
1081 1081  CERRWARN += -_gcc=-Wno-unused-variable
1082 1082  CERRWARN += -_gcc=-Wno-type-limits
1083 1083  CERRWARN += -_gcc=-Wno-char-subscripts
1084 1084  CERRWARN += -_gcc=-Wno-clobbered
1085 1085  CERRWARN += -_gcc=-Wno-unused-function
1086 1086  CERRWARN += -_gcc=-Wno-address
1087 1087  
     1088 +$(RELEASE_BUILD)CERRWARN += -_gcc=-Wno-unused
     1089 +
1088 1090  # not linted
1089 1091  SMATCH=off
1090 1092  
1091 1093  # Setting THREAD_DEBUG = -DTHREAD_DEBUG (make THREAD_DEBUG=-DTHREAD_DEBUG ...)
1092 1094  # enables ASSERT() checking in the threads portion of the library.
1093 1095  # This is automatically enabled for DEBUG builds, not for non-debug builds.
1094 1096  THREAD_DEBUG =
1095 1097  $(NOT_RELEASE_BUILD)THREAD_DEBUG = -DTHREAD_DEBUG
1096 1098  
1097 1099  # Make string literals read-only to save memory.
↓ open down ↓ 223 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX