Print this page
10051 cw(1) shouldn't have to translate -g

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/file/Makefile
          +++ new/usr/src/cmd/file/Makefile
↓ open down ↓ 38 lines elided ↑ open up ↑
  39   39  
  40   40  CSTD=   $(CSTD_GNU99)
  41   41  C99LMODE= -Xc99=%all
  42   42  
  43   43  CERRWARN += -_gcc=-Wno-uninitialized
  44   44  CERRWARN += -_gcc=-Wno-type-limits
  45   45  
  46   46  POFILE= file_all.po
  47   47  POFILES= $(SRCS:%.c=%.po)
  48   48  
  49      -# The debug binary can be built using the flag
  50      -# -D COPTFLAG=-g CGLOBALSTATIC=
       49 +# The debug binary can be built using the flags
       50 +# SOURCEDEBUG=yes CGLOBALSTATIC=
  51   51  # This will avoid the multiple symbols definition error
  52   52  # for static global variables in elf_read32.o and elf_read64.o
  53   53  
  54   54  LDLIBS += -lelf
  55   55  CPPFLAGS += -I$(ELFCAP) -I$(SGSRTCID)
  56   56  $(XPG4) := CFLAGS += -DXPG4
  57   57  
  58   58  ROOTETCMAGIC= $(MAGIC:%=$(ROOTETC)/%)
  59   59  
  60   60  $(ROOTETCMAGIC) :=      FILEMODE =      $(LIBFILEMODE)
↓ open down ↓ 51 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX