patch
diff -x config.log -x config.status -ru tmp/cpio-2.13/src/global.c work/cpio-2.13/src/global.c
--- tmp/cpio-2.13/src/global.c 2019-11-03 07:07:23.000000000 -0800
+++ work/cpio-2.13/src/global.c 2021-04-18 16:44:15.880781197 -0700
@@ -185,7 +185,7 @@
bool to_stdout_option = false;
/* The name this program was run with. */
-char *program_name;
+extern const char *program_name;
/* A pointer to either lstat or stat, depending on whether
dereferencing of symlinks is done for input files. */
