summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-09-06 23:53:07 -0700
committerMichael Forney <mforney@mforney.org>2021-09-07 13:41:11 -0700
commit3603c6e1c0c3a5e641752bada3073d0face5390e (patch)
tree6a3d04d60cffd47ef2b6345a777ba37d864edd40
parent031b61d7138cc1b50ddffffca76ed9e5bbc5d044 (diff)
cproc: Update to latest git
-rw-r--r--pkg/cproc/config.h16
m---------pkg/cproc/src0
-rw-r--r--pkg/cproc/ver2
3 files changed, 9 insertions, 9 deletions
diff --git a/pkg/cproc/config.h b/pkg/cproc/config.h
index a9dff3ab..571bf0bc 100644
--- 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/src b/pkg/cproc/src
-Subproject ad5a1742dd520d8374be275252121ce52cd3a2c
+Subproject 2f27b9307d89404a868d5a2cf274c80703952b9
diff --git a/pkg/cproc/ver b/pkg/cproc/ver
index 25019d34..a728cb93 100644
--- a/pkg/cproc/ver
+++ b/pkg/cproc/ver
@@ -1 +1 @@
-ad5a1742dd r0
+2f27b9307d r0