Print this page
10476 file(1) could be smatch clean

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