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/sparc/Makefile.sparc.shared
          +++ new/usr/src/uts/sparc/Makefile.sparc.shared
↓ open down ↓ 133 lines elided ↑ open up ↑
 134  134  CFLAGS          += $(CTF_FLAGS_$(CLASS))
 135  135  CFLAGS          += $(C99MODE)
 136  136  CFLAGS          += $(CCUNBOUND)
 137  137  CFLAGS          += $(CCSTATICSYM)
 138  138  CFLAGS          += $(CC32BITCALLERS)
 139  139  CFLAGS          += $(CCNOAUTOINLINE)
 140  140  CFLAGS          += $(IROPTFLAG)
 141  141  CFLAGS          += $(CGLOBALSTATIC)
 142  142  CFLAGS          += -xregs=no%float
 143  143  CFLAGS          += -xstrconst
      144 +CFLAGS          += $(CSOURCEDEBUGFLAGS)
      145 +CFLAGS          += $(CUSERFLAGS)
 144  146  
 145  147  ASFLAGS         += $(XARCH)
 146  148  
 147  149  LINT_DEFS_32    =
 148  150  LINT_DEFS_64    = -m64
 149  151  LINT_DEFS       += $(LINT_DEFS_$(CLASS))
 150  152  
 151  153  #
 152  154  #       The following must be defined for all implementations:
 153  155  #
↓ open down ↓ 362 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX