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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libbc/sparc/Makefile
          +++ new/usr/src/lib/libbc/sparc/Makefile
↓ open down ↓ 329 lines elided ↑ open up ↑
 330  330  #
 331  331  ASFLAGS=  -P -D__STDC__ -DLOCORE -D_SYS_SYS_S -D_ASM -Dsparc \
 332  332          -I. -Iinc -I../inc/include -I../inc/include/sys $(CPPFLAGS.master)
 333  333  LDLIBS= -t -R/usr/ucblib -L$(ROOT)/usr/ucblib $(LDLIBS.lib) \
 334  334          -lucb -lc -lnsl -lsocket
 335  335  
 336  336  CERRWARN += -_gcc=-Wno-implicit-function-declaration
 337  337  CERRWARN += -_gcc=-Wno-char-subscripts
 338  338  CERRWARN += -_gcc=-Wno-extra
 339  339  CERRWARN += -_gcc=-Wno-parentheses
 340      -CERRWARN += -_gcc=-Wno-uninitialized
      340 +CERRWARN += $(CNOWARN_UNINIT)
 341  341  CERRWARN += -_gcc=-Wno-unused
 342  342  CERRWARN += -_gcc=-Wno-switch
 343  343  CERRWARN += -_gcc=-Wno-address
 344  344  
 345  345  # SONAME is used by DYNFLAGS
 346  346  $(DYNLIB4X) :=  SONAME = $(DYNLIB4X)
 347  347  $(DYNLIBS5) :=  SONAME = $(DYNLIBS5)
 348  348  
 349  349  pics/%.o:= ASFLAGS += $(AS_PICFLAGS) -DPIC
 350  350  pics/%.o:= CPPFLAGS += $(C_PICFLAGS) -DPIC
↓ open down ↓ 126 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX