Print this page
3735 should include an empty make variable in the default CFLAGS/CCFLAGS
3844 the build should make source-level debugging easier
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>

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  CFLAGS_uts              =
 230  230  CFLAGS_uts              += $(STAND_FLAGS_$(CLASS))
 231  231  CFLAGS_uts              += $(CCVERBOSE)
 232  232  CFLAGS_uts              += $(ILDOFF)
 233  233  CFLAGS_uts              += $(XAOPT)
 234  234  CFLAGS_uts              += $(CTF_FLAGS_$(CLASS))
 235  235  CFLAGS_uts              += $(CERRWARN)
 236  236  CFLAGS_uts              += $(CCNOAUTOINLINE)
 237  237  CFLAGS_uts              += $(CGLOBALSTATIC)
 238  238  CFLAGS_uts              += $(EXTRA_CFLAGS)
      239 +CFLAGS_uts              += $(CSOURCEDEBUGFLAGS)
      240 +CFLAGS_uts              += $(CUSERFLAGS)
 239  241  
 240  242  #
 241  243  #       Declare that $(OBJECTS) and $(LINTS) can be compiled in parallel.
 242  244  #       The DUMMY target is for those instances where OBJECTS and LINTS
 243  245  #       are empty (to avoid an unconditional .PARALLEL).
 244  246  .PARALLEL:      $(OBJECTS) $(LINTS) DUMMY
 245  247  
 246  248  #
 247  249  #       Expanded dependencies
 248  250  #
↓ open down ↓ 442 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX