Module Name:    src
Committed By:   mrg
Date:           Tue Sep  5 22:14:08 UTC 2023

Modified Files:
        src/tests/sys/crypto/chacha: Makefile

Log Message:
apply previous to just GCC.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/sys/crypto/chacha/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/sys/crypto/chacha/Makefile
diff -u src/tests/sys/crypto/chacha/Makefile:1.7 src/tests/sys/crypto/chacha/Makefile:1.8
--- src/tests/sys/crypto/chacha/Makefile:1.7	Tue Sep  5 04:22:44 2023
+++ src/tests/sys/crypto/chacha/Makefile	Tue Sep  5 22:14:08 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2023/09/05 04:22:44 mrg Exp $
+#	$NetBSD: Makefile,v 1.8 2023/09/05 22:14:08 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -48,7 +48,7 @@ SRCS.t_chacha+=	chacha_sse2.c
 SRCS.t_chacha+=	chacha_sse2_impl.c
 COPTS.chacha_sse2.c+=	-msse -msse2
 # XXXGCC12 - believes subkey[] is maybe uninitialised, but it is not.
-COPTS.chacha_sse2.c+=	-Wno-maybe-uninitialized
+COPTS.chacha_sse2.c+=	${${ACTIVE_CC} == "gcc":? -Wno-maybe-uninitialized :}
 
 .endif				# x86
 

Reply via email to