commit: 3603c6e1c0c3a5e641752bada3073d0face5390e
parent 031b61d7138cc1b50ddffffca76ed9e5bbc5d044
Author: Michael Forney <mforney@mforney.org>
Date: Mon, 6 Sep 2021 23:53:07 -0700
cproc: Update to latest git
Diffstat:
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/pkg/cproc/config.h b/pkg/cproc/config.h
@@ -1,8 +1,8 @@
-static char target[] = "x86_64-linux-musl";
-static char *startfiles[] = {"-l", ":crt1.o", "-l", ":crti.o"};
-static char *endfiles[] = {"-l", "c", "-l", ":crtn.o"};
-static char *preprocesscmd[] = {
- "cpp", "-P",
+static const char target[] = "x86_64-linux-musl";
+static const char *const startfiles[] = {"-l", ":crt1.o", "-l", ":crti.o"};
+static const char *const endfiles[] = {"-l", "c", "-l", ":crtn.o"};
+static const char *const preprocesscmd[] = {
+ "cpp",
/* clear preprocessor GNU C version */
"-U", "__GNUC__",
@@ -18,6 +18,6 @@ static char *preprocesscmd[] = {
"-D", "__attribute__(x)=",
"-D", "__extension__=",
};
-static char *codegencmd[] = {"qbe"};
-static char *assemblecmd[] = {"as"};
-static char *linkcmd[] = {"ld", "--dynamic-linker", "/lib/ld-musl-x86_64.so.1"};
+static const char *const codegencmd[] = {"qbe"};
+static const char *const assemblecmd[] = {"as"};
+static const char *const linkcmd[] = {"ld", "--dynamic-linker", "/lib/ld-musl-x86_64.so.1"};
diff --git a/pkg/cproc/ver b/pkg/cproc/ver
@@ -1 +1 @@
-ad5a1742dd r0
+2f27b9307d r0