diff options
| -rw-r--r-- | pkg/cproc/config.h | 16 | ||||
| m--------- | pkg/cproc/src | 0 | ||||
| -rw-r--r-- | pkg/cproc/ver | 2 |
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 |
