summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-07-02 20:37:07 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-07-02 20:37:07 +0000
commit73085fb3d90a712821f0974f84de26b0113d48c3 (patch)
treee5bb44038071d60188af4f5f557001cb24f62ab3
parent861f9d1b33f28637aa52ddd28d4bf9dc83c590b7 (diff)
Warnings. I haz them.
-rw-r--r--usr.sbin/openssl/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/usr.sbin/openssl/Makefile b/usr.sbin/openssl/Makefile
index 1cb079571fd..3bfd20117dc 100644
--- a/usr.sbin/openssl/Makefile
+++ b/usr.sbin/openssl/Makefile
@@ -1,10 +1,19 @@
-# $OpenBSD: Makefile,v 1.29 2014/05/29 18:15:21 beck Exp $
+# $OpenBSD: Makefile,v 1.30 2014/07/02 20:37:06 miod Exp $
PROG= openssl
LDADD= -lssl -lcrypto
MAN1= openssl.1
-CFLAGS+= -Wall
+CFLAGS+= -Wall -Werror
+CFLAGS+= -Wformat
+CFLAGS+= -Wformat-security
+CFLAGS+= -Wimplicit
+CFLAGS+= -Wreturn-type
+#CFLAGS+= -Wshadow
+CFLAGS+= -Wtrigraphs
+CFLAGS+= -Wuninitialized
+CFLAGS+= -Wunused
+
CFLAGS+= -DOPENSSL_NO_RC5 -DLIBRESSL_INTERNAL
SRCS= verify.c asn1pars.c req.c dgst.c dh.c enc.c passwd.c gendh.c errstr.c \