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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libzpool/Makefile.com
          +++ new/usr/src/lib/libzpool/Makefile.com
↓ open down ↓ 58 lines elided ↑ open up ↑
  59   59  CLEANFILES += ../common/zfs.h
  60   60  CLEANFILES += $(EXTPICS)
  61   61  
  62   62  $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
  63   63  $(LINTLIB): ../common/zfs.h
  64   64  $(LIBS): ../common/zfs.h
  65   65  
  66   66  CSTD=   $(CSTD_GNU99)
  67   67  C99LMODE=       -Xc99=%all
  68   68  
  69      -CFLAGS +=       -g $(CCVERBOSE) $(CNOGLOBAL)
  70      -CFLAGS64 +=     -g $(CCVERBOSE) $(CNOGLOBAL)
       69 +CFLAGS +=       $(CCGDEBUG) $(CCVERBOSE) $(CNOGLOBAL)
       70 +CFLAGS64 +=     $(CCGDEBUG) $(CCVERBOSE) $(CNOGLOBAL)
  71   71  LDLIBS +=       -lcmdutils -lumem -lavl -lnvpair -lz -lc -lsysevent -lmd \
  72   72                  -lfakekernel
  73   73  CPPFLAGS.first =        -I$(SRC)/lib/libfakekernel/common
  74   74  CPPFLAGS +=     $(INCS) -DDEBUG -D_FAKE_KERNEL
  75   75  
  76   76  LINTFLAGS +=    -erroff=E_STATIC_UNUSED $(INCS)
  77   77  LINTFLAGS64 +=  -erroff=E_STATIC_UNUSED $(INCS)
  78   78  
  79   79  CERRWARN +=     -_gcc=-Wno-parentheses
  80   80  CERRWARN +=     -_gcc=-Wno-switch
↓ open down ↓ 34 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX