Print this page
9939 Need to stop GCC reordering functions

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/Makefile.uts
          +++ new/usr/src/uts/Makefile.uts
↓ open down ↓ 228 lines elided ↑ open up ↑
 229  229  CSTD = $(CSTD_GNU99)
 230  230  
 231  231  CFLAGS_uts              =
 232  232  CFLAGS_uts              += $(STAND_FLAGS_$(CLASS))
 233  233  CFLAGS_uts              += $(CCVERBOSE)
 234  234  CFLAGS_uts              += $(ILDOFF)
 235  235  CFLAGS_uts              += $(XAOPT)
 236  236  CFLAGS_uts              += $(CTF_FLAGS_$(CLASS))
 237  237  CFLAGS_uts              += $(CERRWARN)
 238  238  CFLAGS_uts              += $(CCNOAUTOINLINE)
      239 +CFLAGS_uts              += $(CCNOREORDER)
 239  240  CFLAGS_uts              += $(CGLOBALSTATIC)
 240  241  CFLAGS_uts              += $(EXTRA_CFLAGS)
 241  242  CFLAGS_uts              += $(CSOURCEDEBUGFLAGS)
 242  243  CFLAGS_uts              += $(CUSERFLAGS)
 243  244  
 244  245  #
 245  246  #       Declare that $(OBJECTS) and $(LINTS) can be compiled in parallel.
 246  247  #       The DUMMY target is for those instances where OBJECTS and LINTS
 247  248  #       are empty (to avoid an unconditional .PARALLEL).
 248  249  .PARALLEL:      $(OBJECTS) $(LINTS) DUMMY
↓ open down ↓ 386 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX