Print this page
1926 libresolv evades compiler warnings
*** 17,26 ****
--- 17,27 ----
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
+ # Copyright 2015 Gary Mills
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
LIBRARY= libresolv.a
*** 52,68 ****
# CPPFLAGS += -DDEBUG -DSYSV -D_REENTRANT -I. -I../common/inc
# but some system header files are replaced by local versions
# so we must put -I. ahead of the default include directories:
CPPFLAGS = -I. -I../common/inc $(CPPFLAGS.master) -DDEBUG -DSYSV -D_REENTRANT
LDLIBS += -lsocket -lnsl -lc
- CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-parentheses
- CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-uninitialized
- CERRWARN += -_gcc=-Wno-implicit-int
- CERRWARN += -_gcc=-Wno-extra
ROOTDYNLIBS= $(DYNLIB:%=$(ROOTLIBDIR)/%)
.KEEP_STATE:
--- 53,66 ----
# CPPFLAGS += -DDEBUG -DSYSV -D_REENTRANT -I. -I../common/inc
# but some system header files are replaced by local versions
# so we must put -I. ahead of the default include directories:
CPPFLAGS = -I. -I../common/inc $(CPPFLAGS.master) -DDEBUG -DSYSV -D_REENTRANT
LDLIBS += -lsocket -lnsl -lc
+ CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
ROOTDYNLIBS= $(DYNLIB:%=$(ROOTLIBDIR)/%)
.KEEP_STATE: