summaryrefslogtreecommitdiff
path: root/usr/src/lib/libwanboot/Makefile.com
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libwanboot/Makefile.com')
-rw-r--r--usr/src/lib/libwanboot/Makefile.com6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/src/lib/libwanboot/Makefile.com b/usr/src/lib/libwanboot/Makefile.com
index 5c1f561b35..54a5b54119 100644
--- a/usr/src/lib/libwanboot/Makefile.com
+++ b/usr/src/lib/libwanboot/Makefile.com
@@ -58,8 +58,12 @@ include ../../Makefile.lib
LIBS += $(LINTLIB)
LDLIBS += -lnvpair -lresolv -lnsl -lsocket -ldevinfo -ldhcputil \
- -linetutil -lc -lcrypto -lssl
+ -linetutil -lc -lcrypto -lssl
CPPFLAGS = -I$(SRC)/common/net/wanboot/crypt $(CPPFLAGS.master)
+CERRWARN += -_gcc=-Wno-switch
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += -_gcc=-Wno-unused-value
+CERRWARN += -_gcc=-Wno-uninitialized
# Must override SRCS from Makefile.lib since sources have
# multiple source directories.