From: Nishi Date: Sat, 12 Oct 2024 02:42:38 +0000 (+0000) Subject: macro X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=a7ef56b798c306fc1b22b2f6e92e35439bdf92ea;p=rbuild.git macro git-svn-id: file:///raid/svn-personal/rbuild/trunk@26 c68d3453-7f82-0740-9748-1d72386a946b --- diff --git a/Server/task.c b/Server/task.c index e872b7a..9d0b622 100644 --- a/Server/task.c +++ b/Server/task.c @@ -170,7 +170,7 @@ char** rbs_translate_args(const char* section, const char* cmd, char** args, int rbs_push(&r, args[i]); rbs_push(&r, args[i + 1]); i++; - } else if(strcmp(args[i], "-c") == 0 || strcmp(args[i], "-fcommon") == 0 || strcmp(args[i], "-fno-common") == 0 || strcmp(args[i], "-fPIC") == 0 || strcmp(args[i], "-shared") == 0) { + } else if(strcmp(args[i], "-c") == 0 || strcmp(args[i], "-fcommon") == 0 || strcmp(args[i], "-fno-common") == 0 || strcmp(args[i], "-fPIC") == 0 || strcmp(args[i], "-shared") == 0 || (strlen(args[i]) > 2 && args[i][0] == '-' && args[i][1] == 'D')) { rbs_push(&r, args[i]); } else if(args[i][0] != '-') { /* file input */