commit 92d40d4

Michael Forney  ·  2026-05-08 05:15:34 +0000 UTC
parent addd054
openssh: Probe for __builtin_popcount
2 files changed,  +5, -2
+3, -1
 1@@ -564,7 +564,9 @@
 2 /* #undef LOCKED_PASSWD_SUBSTR */
 3 /* #undef LOGIN_NEEDS_UTMPX */
 4 /* #undef MAIL_DIRECTORY */
 5-/* #undef MISSING_BUILTIN_POPCOUNT */
 6+#ifndef HAVE___BUILTIN_POPCOUNT
 7+#define MISSING_BUILTIN_POPCOUNT 1
 8+#endif
 9 /* #undef NEED_SETPGRP */
10 /* #undef NO_ATTRIBUTE_ON_PROTOTYPE_ARGS */
11 /* #undef NO_ATTRIBUTE_ON_RETURN_TYPE */
+2, -1
 1@@ -27,9 +27,10 @@ pkg.deps = {
 2 }
 3 
 4 build('cat', '$outdir/config.h', {
 5-	'$dir/config.h',
 6+	'$builddir/probe/HAVE___BUILTIN_POPCOUNT',
 7 	'$builddir/probe/SIZEOF_LONG',
 8 	'$builddir/probe/SIZEOF_TIME_T',
 9+	'$dir/config.h',
10 })
11 
12 lib('libopenbsd-compat.a', [[openbsd-compat/(