git: eaf7aabddcde - main - stand: geli CFLAGS tightening
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Jul 2022 17:50:02 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=eaf7aabddcde9bf9eecffb41ba6569de0f5fa645
commit eaf7aabddcde9bf9eecffb41ba6569de0f5fa645
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-07-08 16:02:17 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-07-08 17:47:36 +0000
stand: geli CFLAGS tightening
Only add -DWEAK_REFS to sha256.c and sha512.c instead of
everything. Remove redundant include that's not needed.
Minor formatting tweak.
Sponsored by: Netflix
---
stand/libsa/geli/Makefile.inc | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/stand/libsa/geli/Makefile.inc b/stand/libsa/geli/Makefile.inc
index 734bcf6be5e6..841eea397807 100644
--- a/stand/libsa/geli/Makefile.inc
+++ b/stand/libsa/geli/Makefile.inc
@@ -3,14 +3,13 @@
.PATH: ${SASRC}/geli
-CFLAGS+= -I${LDRSRC}
-
# Our password input method
-SRCS+= pwgets.c
+SRCS+= pwgets.c
# sha256 and sha512 from sys/crypto
.PATH: ${SYSDIR}/crypto/sha2
-CFLAGS+= -DWEAK_REFS
+CFLAGS.sha256.c+= -DWEAK_REFS
+CFLAGS.sha512.c+= -DWEAK_REFS
SRCS+= sha256c.c sha512c.c
# md5 from libmd