forked from enlightenment/efl
Don\'t assume cpp and gcc are always in /usr/bin... absolute paths removed
SVN revision: 18130
This commit is contained in:
parent
66f580a1b4
commit
a908b18cfc
|
@ -653,12 +653,12 @@ compile(void)
|
|||
strcat(def, " ");
|
||||
}
|
||||
}
|
||||
snprintf(buf, sizeof(buf), "cat %s | /usr/bin/cpp -I%s %s -E -o %s",
|
||||
snprintf(buf, sizeof(buf), "cat %s | cpp -I%s %s -E -o %s",
|
||||
file_in, inc, def, tmpn);
|
||||
ret = system(buf);
|
||||
if (ret < 0)
|
||||
{
|
||||
snprintf(buf, sizeof(buf), "/usr/bin/gcc -I%s %s -E -o %s %s",
|
||||
snprintf(buf, sizeof(buf), "gcc -I%s %s -E -o %s %s",
|
||||
inc, def, tmpn, file_in);
|
||||
ret = system(buf);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue