Branch: Tag:

2000-12-13

2000-12-13 21:36:19 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

Support -Wl,.... better

Rev: NT/tools/rntcl:1.11

40:      int main(int argc, string *argv)   { + // werror("%O\n",argv);    string *ldopts=({"-INCREMENTAL:no"});    string *cflags=({    "-Zm300",
164:    // paths for the 'uname' binary.    if(sscanf(tmp,"-rpath%*s")) break;    -  cflags+=({tmp}); +  ldopts+=({tmp});    break;    }    }
258:    })    +ldopts;    } +  +  break; +  +  default: +  if(sizeof(ldopts)) +  cmd+=({"-link" }) +ldopts; +  break;    }          int ret;    if(verbose && target!="-")    { -  + // werror("Doing: %s\n",cmd*" ");    ret=do_cmd(cmd);    }else{    int first_line=1;