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/lib/Makefile.lib
          +++ new/usr/src/lib/Makefile.lib
↓ open down ↓ 179 lines elided ↑ open up ↑
 180  180  # sometimes get appended more than once, which will cause ctfconvert to fail.
 181  181  # So, instead we introduce CTFCONVERT_POST and CTFMERGE_POST, which are always
 182  182  # appended to POST_PROCESS_O and POST_PROCESS_SO but are no-ops unless CTF
 183  183  # processing should be done.
 184  184  #
 185  185  CTFCONVERT_POST = :
 186  186  CTFMERGE_POST   = :
 187  187  POST_PROCESS_O += ; $(CTFCONVERT_POST)
 188  188  POST_PROCESS_SO += ; $(CTFMERGE_POST)
 189  189  
 190      -CTFMERGE_LIB    = $(CTFMERGE) -t -f -L VERSION -o $@ $(PICS)
      190 +CTFMERGE_LIB    = $(CTFMERGE) $(CTFMRGFLAGS) -t -f -L VERSION -o $@ $(PICS)
 191  191  
 192  192  # conditional assignments
 193  193  
 194  194  $(OBJS)  :=     sparc_CFLAGS += -xregs=no%appl
 195  195  
 196  196  $(PICS)  :=     sparc_CFLAGS += -xregs=no%appl $(sparc_C_PICFLAGS)
 197  197  $(PICS)  :=     sparcv9_CFLAGS += -xregs=no%appl $(sparcv9_C_PICFLAGS)
 198  198  $(PICS)  :=     i386_CFLAGS += $(i386_C_PICFLAGS)
 199  199  $(PICS)  :=     amd64_CFLAGS += $(amd64_C_PICFLAGS)
 200  200  $(PICS)  :=     CCFLAGS += $(CC_PICFLAGS)
↓ open down ↓ 60 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX