summaryrefslogtreecommitdiff
path: root/crypto/external/bsd/openssl
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2023-05-23 12:04:42 +0000
committerchristos <christos@NetBSD.org>2023-05-23 12:04:42 +0000
commit827c50a22c4e87a80dde6fb00a0181f52310adc9 (patch)
treea3c9659cbcfac4acc806d4430ff5d81ce43525d5 /crypto/external/bsd/openssl
parent647e888b39dc2b9f1e58536f7454581577e8ba57 (diff)
centralie warnings
Diffstat (limited to 'crypto/external/bsd/openssl')
-rw-r--r--crypto/external/bsd/openssl/lib/libapps/Makefile13
-rw-r--r--crypto/external/bsd/openssl/lib/libcommon/Makefile13
-rw-r--r--crypto/external/bsd/openssl/lib/libcrypto/Makefile17
-rw-r--r--crypto/external/bsd/openssl/lib/libdefault/Makefile13
-rw-r--r--crypto/external/bsd/openssl/lib/liblegacy/Makefile13
5 files changed, 5 insertions, 64 deletions
diff --git a/crypto/external/bsd/openssl/lib/libapps/Makefile b/crypto/external/bsd/openssl/lib/libapps/Makefile
index f1b4e110922..916ebd0258e 100644
--- a/crypto/external/bsd/openssl/lib/libapps/Makefile
+++ b/crypto/external/bsd/openssl/lib/libapps/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2023/05/17 19:09:41 christos Exp $
+# $NetBSD: Makefile,v 1.3 2023/05/23 12:04:42 christos Exp $
# RCSid:
# Id: Makefile,v 1.33 1998/11/11 11:53:53 sjg Exp
@@ -25,17 +25,6 @@ USE_FIPS= no
.include <bsd.own.mk>
.include <bsd.shlib.mk>
-CWARNFLAGS.clang+= -Wno-empty-body -Wno-unused-value -Wno-parentheses -Wno-implicit-int-float-conversion
-# XXX: This warning seems to trigger incorrectly
-CWARNFLAGS.clang+= -Wno-atomic-alignment
-
-LINTFLAGS+= -X 161 # constant in conditional context
-LINTFLAGS+= -X 129 # expression has null effect
-LINTFLAGS+= -X 117 # bitwise '>>' on signed value possibly nonportable
-LINTFLAGS+= -X 231 # argument '%s' unused in function '%s'
-LINTFLAGS+= -X 220 # fallthrough on case statement
-LINTFLAGS+= -X 118 # semantics of '%s' change in ANSI C; use explicit cast
-
CPPFLAGS+= -Dlib${LIB} -I. -I${OPENSSLSRC}/crypto -I${OPENSSLSRC} -I${.CURDIR}
CPPFLAGS+= -I${OPENSSLSRC}/include -I${OPENSSLSRC}/crypto/include
CPPFLAGS+= -I${OPENSSLSRC}/crypto/asn1 -I${OPENSSLSRC}/crypto/evp
diff --git a/crypto/external/bsd/openssl/lib/libcommon/Makefile b/crypto/external/bsd/openssl/lib/libcommon/Makefile
index 41ef628305b..c9e7701fcae 100644
--- a/crypto/external/bsd/openssl/lib/libcommon/Makefile
+++ b/crypto/external/bsd/openssl/lib/libcommon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2023/05/17 19:09:41 christos Exp $
+# $NetBSD: Makefile,v 1.4 2023/05/23 12:04:42 christos Exp $
# RCSid:
# Id: Makefile,v 1.33 1998/11/11 11:53:53 sjg Exp
@@ -25,17 +25,6 @@ USE_FIPS= no
.include <bsd.own.mk>
.include <bsd.shlib.mk>
-CWARNFLAGS.clang+= -Wno-empty-body -Wno-unused-value -Wno-parentheses -Wno-implicit-int-float-conversion
-# XXX: This warning seems to trigger incorrectly
-CWARNFLAGS.clang+= -Wno-atomic-alignment
-
-LINTFLAGS+= -X 161 # constant in conditional context
-LINTFLAGS+= -X 129 # expression has null effect
-LINTFLAGS+= -X 117 # bitwise '>>' on signed value possibly nonportable
-LINTFLAGS+= -X 231 # argument '%s' unused in function '%s'
-LINTFLAGS+= -X 220 # fallthrough on case statement
-LINTFLAGS+= -X 118 # semantics of '%s' change in ANSI C; use explicit cast
-
CPPFLAGS+= -Dlib${LIB} -I. -I${OPENSSLSRC}/crypto -I${OPENSSLSRC} -I${.CURDIR}
CPPFLAGS+= -I${OPENSSLSRC}/include -I${OPENSSLSRC}/crypto/include
CPPFLAGS+= -I${OPENSSLSRC}/crypto/asn1 -I${OPENSSLSRC}/crypto/evp
diff --git a/crypto/external/bsd/openssl/lib/libcrypto/Makefile b/crypto/external/bsd/openssl/lib/libcrypto/Makefile
index 3a094f7407f..343b8c76a64 100644
--- a/crypto/external/bsd/openssl/lib/libcrypto/Makefile
+++ b/crypto/external/bsd/openssl/lib/libcrypto/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2023/05/17 19:09:41 christos Exp $
+# $NetBSD: Makefile,v 1.29 2023/05/23 12:04:42 christos Exp $
# RCSid:
# Id: Makefile,v 1.33 1998/11/11 11:53:53 sjg Exp
@@ -25,27 +25,12 @@ USE_FIPS= no
.include <bsd.own.mk>
.include <bsd.shlib.mk>
-COPTS+= -Wno-error=cast-qual -Wno-error=discarded-qualifiers
-COPTS+= -Wno-error=missing-field-initializers -Wno-error=char-subscripts
-CWARNFLAGS.clang+= -Wno-empty-body -Wno-unused-value -Wno-parentheses -Wno-implicit-int-float-conversion
-# XXX: This warning seems to trigger incorrectly
-CWARNFLAGS.clang+= -Wno-atomic-alignment
-
-LINTFLAGS+= -X 161 # constant in conditional context
-LINTFLAGS+= -X 129 # expression has null effect
-LINTFLAGS+= -X 117 # bitwise '>>' on signed value possibly nonportable
-LINTFLAGS+= -X 231 # argument '%s' unused in function '%s'
-LINTFLAGS+= -X 220 # fallthrough on case statement
-LINTFLAGS+= -X 118 # semantics of '%s' change in ANSI C; use explicit cast
-
CPPFLAGS+= -Dlib${LIB} -I. -I${OPENSSLSRC}/crypto -I${OPENSSLSRC}
CPPFLAGS+= -I${OPENSSLSRC}/include -I${OPENSSLSRC}/crypto/include
CPPFLAGS+= -I${OPENSSLSRC}/crypto/asn1 -I${OPENSSLSRC}/crypto/evp
CPPFLAGS+= -I${OPENSSLSRC}/crypto/modes
CPPFLAGS+= -I${OPENSSLSRC}/../include
-
-
CRYPTODIST= ${NETBSDSRCDIR}/crypto
OPENSSLINC= ${OPENSSLSRC}/include/openssl
diff --git a/crypto/external/bsd/openssl/lib/libdefault/Makefile b/crypto/external/bsd/openssl/lib/libdefault/Makefile
index 5a619fbe3ec..9bcef4837c7 100644
--- a/crypto/external/bsd/openssl/lib/libdefault/Makefile
+++ b/crypto/external/bsd/openssl/lib/libdefault/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2023/05/17 19:09:42 christos Exp $
+# $NetBSD: Makefile,v 1.5 2023/05/23 12:04:42 christos Exp $
# RCSid:
# Id: Makefile,v 1.33 1998/11/11 11:53:53 sjg Exp
@@ -25,17 +25,6 @@ USE_FIPS= no
.include <bsd.own.mk>
.include <bsd.shlib.mk>
-CWARNFLAGS.clang+= -Wno-empty-body -Wno-unused-value -Wno-parentheses -Wno-implicit-int-float-conversion
-# XXX: This warning seems to trigger incorrectly
-CWARNFLAGS.clang+= -Wno-atomic-alignment
-
-LINTFLAGS+= -X 161 # constant in conditional context
-LINTFLAGS+= -X 129 # expression has null effect
-LINTFLAGS+= -X 117 # bitwise '>>' on signed value possibly nonportable
-LINTFLAGS+= -X 231 # argument '%s' unused in function '%s'
-LINTFLAGS+= -X 220 # fallthrough on case statement
-LINTFLAGS+= -X 118 # semantics of '%s' change in ANSI C; use explicit cast
-
CPPFLAGS+= -Dlib${LIB} -I. -I${OPENSSLSRC}/crypto -I${OPENSSLSRC} -I${.CURDIR}
CPPFLAGS+= -I${OPENSSLSRC}/include -I${OPENSSLSRC}/crypto/include
CPPFLAGS+= -I${OPENSSLSRC}/crypto/asn1 -I${OPENSSLSRC}/crypto/evp
diff --git a/crypto/external/bsd/openssl/lib/liblegacy/Makefile b/crypto/external/bsd/openssl/lib/liblegacy/Makefile
index febf781d422..465e0daa57a 100644
--- a/crypto/external/bsd/openssl/lib/liblegacy/Makefile
+++ b/crypto/external/bsd/openssl/lib/liblegacy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2023/05/19 18:45:52 christos Exp $
+# $NetBSD: Makefile,v 1.6 2023/05/23 12:04:42 christos Exp $
# RCSid:
# Id: Makefile,v 1.33 1998/11/11 11:53:53 sjg Exp
@@ -25,17 +25,6 @@ USE_FORT?= yes # cryptographic software
.include <bsd.own.mk>
.include <bsd.shlib.mk>
-CWARNFLAGS.clang+= -Wno-empty-body -Wno-unused-value -Wno-parentheses -Wno-implicit-int-float-conversion
-# XXX: This warning seems to trigger incorrectly
-CWARNFLAGS.clang+= -Wno-atomic-alignment
-
-LINTFLAGS+= -X 161 # constant in conditional context
-LINTFLAGS+= -X 129 # expression has null effect
-LINTFLAGS+= -X 117 # bitwise '>>' on signed value possibly nonportable
-LINTFLAGS+= -X 231 # argument '%s' unused in function '%s'
-LINTFLAGS+= -X 220 # fallthrough on case statement
-LINTFLAGS+= -X 118 # semantics of '%s' change in ANSI C; use explicit cast
-
CPPFLAGS+= -Dlib${LIB} -I. -I${OPENSSLSRC}/crypto -I${OPENSSLSRC} -I${.CURDIR}
CPPFLAGS+= -I${OPENSSLSRC}/include -I${OPENSSLSRC}/crypto/include
CPPFLAGS+= -I${OPENSSLSRC}/crypto/asn1 -I${OPENSSLSRC}/crypto/evp