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


1058 CRTSRCS= ../../crt/i386
1059 
1060 LDPASS_OFF=     $(POUND_SIGN)
1061 
1062 # include common library definitions
1063 include ../../Makefile.lib
1064 
1065 # we need to override the default SONAME here because we might
1066 # be building a variant object (still libc.so.1, but different filename)
1067 SONAME = libc.so.1
1068 
1069 CFLAGS += $(CCVERBOSE) $(CTF_FLAGS)
1070 
1071 # This is necessary to avoid problems with calling _ex_unwind().
1072 # We probably don't want any inlining anyway.
1073 XINLINE = -xinline=
1074 CFLAGS += $(XINLINE)
1075 
1076 CERRWARN += -_gcc=-Wno-parentheses
1077 CERRWARN += -_gcc=-Wno-switch
1078 CERRWARN += -_gcc=-Wno-uninitialized
1079 CERRWARN += -_gcc=-Wno-unused-value
1080 CERRWARN += -_gcc=-Wno-unused-label
1081 CERRWARN += -_gcc=-Wno-unused-variable
1082 CERRWARN += -_gcc=-Wno-type-limits
1083 CERRWARN += -_gcc=-Wno-char-subscripts
1084 CERRWARN += -_gcc=-Wno-clobbered
1085 CERRWARN += -_gcc=-Wno-unused-function
1086 CERRWARN += -_gcc=-Wno-address
1087 
1088 $(RELEASE_BUILD)CERRWARN += -_gcc=-Wno-unused
1089 
1090 # not linted
1091 SMATCH=off
1092 
1093 # Setting THREAD_DEBUG = -DTHREAD_DEBUG (make THREAD_DEBUG=-DTHREAD_DEBUG ...)
1094 # enables ASSERT() checking in the threads portion of the library.
1095 # This is automatically enabled for DEBUG builds, not for non-debug builds.
1096 THREAD_DEBUG =
1097 $(NOT_RELEASE_BUILD)THREAD_DEBUG = -DTHREAD_DEBUG
1098 




1058 CRTSRCS= ../../crt/i386
1059 
1060 LDPASS_OFF=     $(POUND_SIGN)
1061 
1062 # include common library definitions
1063 include ../../Makefile.lib
1064 
1065 # we need to override the default SONAME here because we might
1066 # be building a variant object (still libc.so.1, but different filename)
1067 SONAME = libc.so.1
1068 
1069 CFLAGS += $(CCVERBOSE) $(CTF_FLAGS)
1070 
1071 # This is necessary to avoid problems with calling _ex_unwind().
1072 # We probably don't want any inlining anyway.
1073 XINLINE = -xinline=
1074 CFLAGS += $(XINLINE)
1075 
1076 CERRWARN += -_gcc=-Wno-parentheses
1077 CERRWARN += -_gcc=-Wno-switch
1078 CERRWARN += $(CNOWARN_UNINIT)
1079 CERRWARN += -_gcc=-Wno-unused-value
1080 CERRWARN += -_gcc=-Wno-unused-label
1081 CERRWARN += -_gcc=-Wno-unused-variable
1082 CERRWARN += -_gcc=-Wno-type-limits
1083 CERRWARN += -_gcc=-Wno-char-subscripts
1084 CERRWARN += -_gcc=-Wno-clobbered
1085 CERRWARN += -_gcc=-Wno-unused-function
1086 CERRWARN += -_gcc=-Wno-address
1087 
1088 $(RELEASE_BUILD)CERRWARN += -_gcc=-Wno-unused
1089 
1090 # not linted
1091 SMATCH=off
1092 
1093 # Setting THREAD_DEBUG = -DTHREAD_DEBUG (make THREAD_DEBUG=-DTHREAD_DEBUG ...)
1094 # enables ASSERT() checking in the threads portion of the library.
1095 # This is automatically enabled for DEBUG builds, not for non-debug builds.
1096 THREAD_DEBUG =
1097 $(NOT_RELEASE_BUILD)THREAD_DEBUG = -DTHREAD_DEBUG
1098