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>


 124 CFLAGS          = $(CFLAGS_$(CLASS))
 125 
 126 CFLAGS          += $(XARCH)
 127 CFLAGS          += $(COPTIMIZE)
 128 CFLAGS          += $(EXTRA_CFLAGS)
 129 CFLAGS          += $(XAOPT)
 130 CFLAGS          += $(INLINES) -D_ASM_INLINES
 131 CFLAGS          += $(CCMODE)
 132 CFLAGS          += $(SPACEFLAG)
 133 CFLAGS          += $(CERRWARN)
 134 CFLAGS          += $(CTF_FLAGS_$(CLASS))
 135 CFLAGS          += $(C99MODE)
 136 CFLAGS          += $(CCUNBOUND)
 137 CFLAGS          += $(CCSTATICSYM)
 138 CFLAGS          += $(CC32BITCALLERS)
 139 CFLAGS          += $(CCNOAUTOINLINE)
 140 CFLAGS          += $(IROPTFLAG)
 141 CFLAGS          += $(CGLOBALSTATIC)
 142 CFLAGS          += -xregs=no%float
 143 CFLAGS          += -xstrconst


 144 
 145 ASFLAGS         += $(XARCH)
 146 
 147 LINT_DEFS_32    =
 148 LINT_DEFS_64    = -m64
 149 LINT_DEFS       += $(LINT_DEFS_$(CLASS))
 150 
 151 #
 152 #       The following must be defined for all implementations:
 153 #
 154 #       MODSTUBS:       Module stubs source file.
 155 #
 156 MODSTUBS         = $(UTSBASE)/sparc/ml/modstubs.s
 157 
 158 #
 159 #       Define the actual specific platforms - obviously none.
 160 #
 161 MACHINE_DEFS     =
 162 
 163 #




 124 CFLAGS          = $(CFLAGS_$(CLASS))
 125 
 126 CFLAGS          += $(XARCH)
 127 CFLAGS          += $(COPTIMIZE)
 128 CFLAGS          += $(EXTRA_CFLAGS)
 129 CFLAGS          += $(XAOPT)
 130 CFLAGS          += $(INLINES) -D_ASM_INLINES
 131 CFLAGS          += $(CCMODE)
 132 CFLAGS          += $(SPACEFLAG)
 133 CFLAGS          += $(CERRWARN)
 134 CFLAGS          += $(CTF_FLAGS_$(CLASS))
 135 CFLAGS          += $(C99MODE)
 136 CFLAGS          += $(CCUNBOUND)
 137 CFLAGS          += $(CCSTATICSYM)
 138 CFLAGS          += $(CC32BITCALLERS)
 139 CFLAGS          += $(CCNOAUTOINLINE)
 140 CFLAGS          += $(IROPTFLAG)
 141 CFLAGS          += $(CGLOBALSTATIC)
 142 CFLAGS          += -xregs=no%float
 143 CFLAGS          += -xstrconst
 144 CFLAGS          += $(CSOURCEDEBUGFLAGS)
 145 CFLAGS          += $(CUSERFLAGS)
 146 
 147 ASFLAGS         += $(XARCH)
 148 
 149 LINT_DEFS_32    =
 150 LINT_DEFS_64    = -m64
 151 LINT_DEFS       += $(LINT_DEFS_$(CLASS))
 152 
 153 #
 154 #       The following must be defined for all implementations:
 155 #
 156 #       MODSTUBS:       Module stubs source file.
 157 #
 158 MODSTUBS         = $(UTSBASE)/sparc/ml/modstubs.s
 159 
 160 #
 161 #       Define the actual specific platforms - obviously none.
 162 #
 163 MACHINE_DEFS     =
 164 
 165 #