git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@916 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-03-22 23:47:49 +00:00
parent 656be2f50e
commit dbf7aeb23c

View file

@ -271,6 +271,16 @@ int GUI_BuildParms(char *args, char **argv)
paramlen += strlen(param+paramlen)+1;
}
for (i = 0; compiler_flag[i].enabled; i++) //enabled is a pointer
{
if (compiler_flag[i].flags & FLAG_SETINGUI)
sprintf(param+paramlen, "-F%s", compiler_flag[i].abbrev);
else
sprintf(param+paramlen, "-Fno-%s", compiler_flag[i].abbrev);
argv[argc++] = param+paramlen;
paramlen += strlen(param+paramlen)+1;
}
/* while(*args)
{