summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2014-07-02 20:37:06 +0000
committermiod <miod@openbsd.org>2014-07-02 20:37:06 +0000
commit59279908b554ddd6630a84496d247575e67ae8df (patch)
tree269116a1635d5e1c0850df2569b6078e5d37cf57
parentBe more careful when recreating single-precision (float) argument to service (diff)
downloadwireguard-openbsd-59279908b554ddd6630a84496d247575e67ae8df.tar.xz
wireguard-openbsd-59279908b554ddd6630a84496d247575e67ae8df.zip
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 \