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

@@ -458,10 +458,14 @@
 CERRWARN += -_gcc=-Wno-missing-field-initializers
 
 # Unfortunately, this option can misfire very easily and unfixably.
 CERRWARN +=     -_gcc=-Wno-array-bounds
 
+# gcc4 lacks -Wno-maybe-uninitialized
+CNOWARN_UNINIT = -_gcc4=-Wno-uninitialized \
+    -_gcc7=-Wno-maybe-uninitialized \
+    -_gcc8=-Wno-maybe-uninitialized
 
 CERRWARN += -_smatch=-p=illumos_user
 include $(SRC)/Makefile.smatch
 
 #

@@ -1246,10 +1250,5 @@
 .x.check:
         $(DOT_X_CHECK)
 
 .xml.xmlchk:
         $(MANIFEST_CHECK)
-
-#
-# Include rules to render automated sccs get rules "safe".
-#
-include $(SRC)/Makefile.noget