force gcc to use C preprocessor (otherwise the file extension (.edc) is

breaking that behavior)


SVN revision: 47338
This commit is contained in:
Vincent Torri 2010-03-18 22:52:28 +00:00
parent 8cdfb061dd
commit d1c0ea07fc
1 changed files with 1 additions and 1 deletions

View File

@ -750,7 +750,7 @@ compile(void)
if (fd >= 0)
{
close(fd);
snprintf (buf, 4096, "gcc -I%s %s -E -o %s %s",
snprintf (buf, 4096, "gcc -xc -I%s %s -E -o %s %s",
inc, def, tmpn2, tmpn);
ret = system(buf);
snprintf(tmpn, 4096, "%s", tmpn2);