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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc/amd64/Makefile
          +++ new/usr/src/lib/libc/amd64/Makefile
↓ open down ↓ 1019 lines elided ↑ open up ↑
1020 1020  include ../../Makefile.lib.64
1021 1021  
1022 1022  CFLAGS64 += $(CTF_FLAGS)
1023 1023  
1024 1024  # This is necessary to avoid problems with calling _ex_unwind().
1025 1025  # We probably don't want any inlining anyway.
1026 1026  CFLAGS64 += -xinline=
1027 1027  
1028 1028  CERRWARN += -_gcc=-Wno-parentheses
1029 1029  CERRWARN += -_gcc=-Wno-switch
1030      -CERRWARN += -_gcc=-Wno-uninitialized
     1030 +CERRWARN += $(CNOWARN_UNINIT)
1031 1031  CERRWARN += -_gcc=-Wno-unused-value
1032 1032  CERRWARN += -_gcc=-Wno-unused-label
1033 1033  CERRWARN += -_gcc=-Wno-unused-variable
1034 1034  CERRWARN += -_gcc=-Wno-type-limits
1035 1035  CERRWARN += -_gcc=-Wno-char-subscripts
1036 1036  CERRWARN += -_gcc=-Wno-clobbered
1037 1037  CERRWARN += -_gcc=-Wno-unused-function
1038 1038  CERRWARN += -_gcc=-Wno-address
1039 1039  
1040 1040  $(RELEASE_BUILD)CERRWARN += -_gcc=-Wno-unused
↓ open down ↓ 204 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX