diff options
Diffstat (limited to 'devel/spin/files/patch-Src_main.c')
-rw-r--r-- | devel/spin/files/patch-Src_main.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/spin/files/patch-Src_main.c b/devel/spin/files/patch-Src_main.c new file mode 100644 index 000000000000..e74aa879e371 --- /dev/null +++ b/devel/spin/files/patch-Src_main.c @@ -0,0 +1,20 @@ +--- Src/main.c.orig 2019-10-04 20:09:58 UTC ++++ Src/main.c +@@ -103,7 +103,7 @@ void explain(int); + can later be truncated at that point + */ + #if 1 +- #define CPP "gcc -std=gnu99 -E -x c" /* 6.4.0 new default on all systems */ ++ #define CPP "cc -std=gnu99 -E -x c" /* 6.4.0 new default on all systems */ + /* if gcc-4 is available, this setting is modified below */ + #else + #if defined(PC) || defined(MAC) +@@ -579,7 +579,7 @@ void + preprocess(char *a, char *b, int a_tmp) + { char precmd[1024], cmd[2048]; + int i; +-#ifdef PC ++#if 0 + /* gcc is sometimes a symbolic link to gcc-4 + that does not work well in cygwin, so we try + to use the actual executable that is used. |