From 238087e0f5c159d6f4ef1d5d31dee37d5e4fb6fe Mon Sep 17 00:00:00 2001 From: tedu Date: Thu, 17 Apr 2014 20:43:42 +0000 Subject: [PATCH] -Wall --- lib/libcrypto/crypto/Makefile | 4 +++- lib/libssl/ssl/Makefile | 3 ++- usr.sbin/openssl/Makefile | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/libcrypto/crypto/Makefile b/lib/libcrypto/crypto/Makefile index f71fe8e2c19..c652cdd400f 100644 --- a/lib/libcrypto/crypto/Makefile +++ b/lib/libcrypto/crypto/Makefile @@ -1,10 +1,12 @@ -# $OpenBSD: Makefile,v 1.20 2014/04/17 18:16:45 miod Exp $ +# $OpenBSD: Makefile,v 1.21 2014/04/17 20:43:42 tedu Exp $ LIB= crypto SSL_SRC= ${.CURDIR}/../../libssl/src LCRYPTO_SRC= ${SSL_SRC}/crypto +CFLAGS+= -Wall + # arm and sh default to little endian, mips defaults to big endian .if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "amd64" || \ ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "i386" || \ diff --git a/lib/libssl/ssl/Makefile b/lib/libssl/ssl/Makefile index 57124e2dc2f..2deb1b6e001 100644 --- a/lib/libssl/ssl/Makefile +++ b/lib/libssl/ssl/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.38 2014/04/16 21:16:33 tedu Exp $ +# $OpenBSD: Makefile,v 1.39 2014/04/17 20:44:04 tedu Exp $ LIB= ssl SSL_SRC= ${.CURDIR}/../../libssl/src LSSL_SRC= ${SSL_SRC}/ssl +CFLAGS+= -Wall CFLAGS+= -DTERMIOS -DANSI_SOURCE CFLAGS+= -DOPENSSL_NO_RC5 -DOPENSSL_NO_KRB5 CFLAGS+= -I${SSL_SRC} diff --git a/usr.sbin/openssl/Makefile b/usr.sbin/openssl/Makefile index e37f9aee41b..5b050ae548e 100644 --- a/usr.sbin/openssl/Makefile +++ b/usr.sbin/openssl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.23 2014/04/15 20:55:42 miod Exp $ +# $OpenBSD: Makefile,v 1.24 2014/04/17 20:46:29 tedu Exp $ PROG= openssl LDADD= -lssl -lcrypto @@ -9,6 +9,7 @@ SSLEAYDIST= lib/libssl/src SSLEAY_SRC= ${.CURDIR}/../../${SSLEAYDIST}/apps SSLEAY_SRC_TOP= ${.CURDIR}/../../${SSLEAYDIST} +CFLAGS+= -Wall CFLAGS+= -DMONOLITH -DTERMIOS -DANSI_SOURCE -DOPENSSL_NO_RC5 CFLAGS+= -DOPENSSL_NO_SSL2 CFLAGS+= -I${SSLEAY_SRC_TOP} -- 2.20.1