Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized


  64 MRGOBJS=$(MRGSRCS:%.c=%.o)
  65 MRGLINTFILES = $(MRGSRCS:%.c=%.ln)
  66 
  67 SRCS=$(CVTSRCS) $(MRGSRCS) $(CMPSRCS)
  68 OBJS=$(SRCS:%.c=%.o)
  69 LINTFILES=$(SRCS:%.c=%.ln)
  70 
  71 DWARFLDFLAGS    = \
  72         -L$(ROOTONBLDLIBMACH) \
  73         '-R$$ORIGIN/../../lib/$(MACH)' \
  74         -ldwarf
  75 DWARFCPPFLAGS   = -I$(SRC)/lib/libdwarf/common
  76 
  77 LDFLAGS         += -L$(NATIVE_ADJUNCT)/lib
  78 LDLIBS          += -lz -lelf
  79 CPPFLAGS        += -D_REENTRANT
  80 CFLAGS          += $(CTF_FLAGS)
  81 LINTFLAGS       += -mnux
  82 
  83 CERRWARN        += -_gcc=-Wno-unused
  84 CERRWARN        += -_gcc=-Wno-uninitialized
  85 CERRWARN        += -_gcc=-Wno-switch
  86 
  87 CSTD            = $(CSTD_GNU99)
  88 
  89 ctfconvert      := LDFLAGS += $(DWARFLDFLAGS)
  90 
  91 dwarf.o dwarf.ln        := CPPFLAGS += $(DWARFCPPFLAGS)


  64 MRGOBJS=$(MRGSRCS:%.c=%.o)
  65 MRGLINTFILES = $(MRGSRCS:%.c=%.ln)
  66 
  67 SRCS=$(CVTSRCS) $(MRGSRCS) $(CMPSRCS)
  68 OBJS=$(SRCS:%.c=%.o)
  69 LINTFILES=$(SRCS:%.c=%.ln)
  70 
  71 DWARFLDFLAGS    = \
  72         -L$(ROOTONBLDLIBMACH) \
  73         '-R$$ORIGIN/../../lib/$(MACH)' \
  74         -ldwarf
  75 DWARFCPPFLAGS   = -I$(SRC)/lib/libdwarf/common
  76 
  77 LDFLAGS         += -L$(NATIVE_ADJUNCT)/lib
  78 LDLIBS          += -lz -lelf
  79 CPPFLAGS        += -D_REENTRANT
  80 CFLAGS          += $(CTF_FLAGS)
  81 LINTFLAGS       += -mnux
  82 
  83 CERRWARN        += -_gcc=-Wno-unused
  84 CERRWARN        += $(CNOWARN_UNINIT)
  85 CERRWARN        += -_gcc=-Wno-switch
  86 
  87 CSTD            = $(CSTD_GNU99)
  88 
  89 ctfconvert      := LDFLAGS += $(DWARFLDFLAGS)
  90 
  91 dwarf.o dwarf.ln        := CPPFLAGS += $(DWARFCPPFLAGS)