shithub: scc

Download patch

ref: 3c00b024fd74b6322d5628b571440c142334d611
parent: a2bd26c6ebac0479dfe2240c5af3494cbb3e5f9e
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sat Jun 27 07:31:45 EDT 2015

Set PREFIX as /usr/local/include as default

--- a/cc1/cpp.c
+++ b/cc1/cpp.c
@@ -11,6 +11,10 @@
 #include "../inc/cc.h"
 #include "cc1.h"
 
+#ifndef PREFIX
+#define PREFIX "/usr/include/local"
+#endif
+
 static char *argp, *macroname;
 static unsigned arglen;
 static Symbol *symline, *symfile;