mirror of
https://codeberg.org/guix/guix.git
synced 2026-09-06 13:51:41 +00:00
* gnu/packages/c.scm (simple-cc): New variable. * gnu/packages/patches/simple-cc-path-max.patch: New patch. * gnu/packages/patches/simple-cc-qbebin.patch: New patch. * gnu/packages/patches/simple-cc-wcsrtombs.patch: New patch. * gnu/packages/patches/simple-cc-noexec-stack.patch: New patch. * gnu/local.mk: (dist_patch_DATA): Register patches. Change-Id: Ia72acc15c646ef2dc20afc86077ca1057b718370
18 lines
438 B
Diff
18 lines
438 B
Diff
Allow binary names of PATH_MAX length
|
|
|
|
Required for Guix as otherwise our store paths don't fit here.
|
|
|
|
diff --git a/src/cmd/scc-cc/posix/cc.c b/src/cmd/scc-cc/posix/cc.c
|
|
index 2758d006..319d4b2f 100644
|
|
--- a/src/cmd/scc-cc/posix/cc.c
|
|
+++ b/src/cmd/scc-cc/posix/cc.c
|
|
@@ -43,7 +43,7 @@ enum {
|
|
|
|
static struct tool {
|
|
char cmd[PATH_MAX];
|
|
- char bin[32];
|
|
+ char bin[PATH_MAX];
|
|
char *outfile;
|
|
struct items args;
|
|
int in, out;
|