Print this page
9939 Need to stop GCC reordering functions


 219 CERRWARN += -_gcc=-Wno-sign-compare
 220 CERRWARN += -_gcc=-Wno-unknown-pragmas
 221 CERRWARN += -_gcc=-Wno-unused-parameter
 222 CERRWARN += -_gcc=-Wno-missing-field-initializers
 223 
 224 # DEBUG v. -nd make for frequent unused variables, empty conditions, etc. in
 225 # -nd builds
 226 $(RELEASE_BUILD)CERRWARN += -_gcc=-Wno-unused
 227 $(RELEASE_BUILD)CERRWARN += -_gcc=-Wno-empty-body
 228 
 229 CSTD = $(CSTD_GNU99)
 230 
 231 CFLAGS_uts              =
 232 CFLAGS_uts              += $(STAND_FLAGS_$(CLASS))
 233 CFLAGS_uts              += $(CCVERBOSE)
 234 CFLAGS_uts              += $(ILDOFF)
 235 CFLAGS_uts              += $(XAOPT)
 236 CFLAGS_uts              += $(CTF_FLAGS_$(CLASS))
 237 CFLAGS_uts              += $(CERRWARN)
 238 CFLAGS_uts              += $(CCNOAUTOINLINE)

 239 CFLAGS_uts              += $(CGLOBALSTATIC)
 240 CFLAGS_uts              += $(EXTRA_CFLAGS)
 241 CFLAGS_uts              += $(CSOURCEDEBUGFLAGS)
 242 CFLAGS_uts              += $(CUSERFLAGS)
 243 
 244 #
 245 #       Declare that $(OBJECTS) and $(LINTS) can be compiled in parallel.
 246 #       The DUMMY target is for those instances where OBJECTS and LINTS
 247 #       are empty (to avoid an unconditional .PARALLEL).
 248 .PARALLEL:      $(OBJECTS) $(LINTS) DUMMY
 249 
 250 #
 251 #       Expanded dependencies
 252 #
 253 DEF_DEPS        = $(DEF_BUILDS:%=def.%)
 254 ALL_DEPS        = $(ALL_BUILDS:%=all.%)
 255 CLEAN_DEPS      = $(ALL_BUILDS:%=clean.%)
 256 CLOBBER_DEPS    = $(ALL_BUILDS:%=clobber.%)
 257 LINT_DEPS       = $(DEF_BUILDS:%=lint.%)
 258 MODLINTLIB_DEPS = $(DEF_BUILDS:%=modlintlib.%)




 219 CERRWARN += -_gcc=-Wno-sign-compare
 220 CERRWARN += -_gcc=-Wno-unknown-pragmas
 221 CERRWARN += -_gcc=-Wno-unused-parameter
 222 CERRWARN += -_gcc=-Wno-missing-field-initializers
 223 
 224 # DEBUG v. -nd make for frequent unused variables, empty conditions, etc. in
 225 # -nd builds
 226 $(RELEASE_BUILD)CERRWARN += -_gcc=-Wno-unused
 227 $(RELEASE_BUILD)CERRWARN += -_gcc=-Wno-empty-body
 228 
 229 CSTD = $(CSTD_GNU99)
 230 
 231 CFLAGS_uts              =
 232 CFLAGS_uts              += $(STAND_FLAGS_$(CLASS))
 233 CFLAGS_uts              += $(CCVERBOSE)
 234 CFLAGS_uts              += $(ILDOFF)
 235 CFLAGS_uts              += $(XAOPT)
 236 CFLAGS_uts              += $(CTF_FLAGS_$(CLASS))
 237 CFLAGS_uts              += $(CERRWARN)
 238 CFLAGS_uts              += $(CCNOAUTOINLINE)
 239 CFLAGS_uts              += $(CCNOREORDER)
 240 CFLAGS_uts              += $(CGLOBALSTATIC)
 241 CFLAGS_uts              += $(EXTRA_CFLAGS)
 242 CFLAGS_uts              += $(CSOURCEDEBUGFLAGS)
 243 CFLAGS_uts              += $(CUSERFLAGS)
 244 
 245 #
 246 #       Declare that $(OBJECTS) and $(LINTS) can be compiled in parallel.
 247 #       The DUMMY target is for those instances where OBJECTS and LINTS
 248 #       are empty (to avoid an unconditional .PARALLEL).
 249 .PARALLEL:      $(OBJECTS) $(LINTS) DUMMY
 250 
 251 #
 252 #       Expanded dependencies
 253 #
 254 DEF_DEPS        = $(DEF_BUILDS:%=def.%)
 255 ALL_DEPS        = $(ALL_BUILDS:%=all.%)
 256 CLEAN_DEPS      = $(ALL_BUILDS:%=clean.%)
 257 CLOBBER_DEPS    = $(ALL_BUILDS:%=clobber.%)
 258 LINT_DEPS       = $(DEF_BUILDS:%=lint.%)
 259 MODLINTLIB_DEPS = $(DEF_BUILDS:%=modlintlib.%)