Lines Matching refs:Arg
492 my $Arg = $ARGV[$i];
493 my ($ArgKey) = split /=/,$Arg,2;
501 if ($Arg =~ /^-(E|MM?)$/) { $Action = 'preprocess'; }
502 elsif ($Arg eq '-c') { $Action = 'compile'; }
503 elsif ($Arg =~ /^-print-prog-name/) { exit 0; }
506 if ($Arg eq "-arch") {
518 if ($Arg =~ /^-isysroot/) {
525 push @CompileOpts,$Arg;
530 if ($Arg =~ /^-iquote.*/) {
531 push @CompileOpts,$Arg;
538 push @LinkOpts,$Arg;
550 if ($UniqueOptions{$Arg}) {
551 if (defined $Uniqued{$Arg}) {
555 $Uniqued{$Arg} = 1;
558 push @CompileOpts,$Arg;
559 push @LinkOpts,$Arg;
579 if ($Arg =~ /^-[D,I,U,isystem](.*)$/) {
580 my $Tmp = $Arg;
584 $Tmp = $Arg . $ARGV[$i];
590 if ($Arg =~ /^-m.*/) {
591 push @CompileOpts,$Arg;
596 if ($Arg eq '-x') {
602 if ($Arg eq '-o') {
609 if ($Arg =~ /^-[l,L,O]/) {
610 if ($Arg eq '-O') { push @LinkOpts,'-O1'; }
611 elsif ($Arg eq '-Os') { push @LinkOpts,'-O2'; }
612 else { push @LinkOpts,$Arg; }
615 if ($Arg =~ /^-O/) { push @CompileOpts,$Arg; }
619 if ($Arg =~ /^-std=/) {
620 push @CompileOpts,$Arg;
625 if ($Arg =~ /^-F(.+)$/) {
626 my $Tmp = $Arg;
630 $Tmp = $Arg . $ARGV[$i];
638 if ($Arg eq '-filelist') {
647 if ($Arg =~ /^-f/) {
648 push @CompileOpts,$Arg;
649 push @LinkOpts,$Arg;
655 if ($Arg =~ /^-Wno-/) {
656 push @CompileOpts, $Arg;
660 if (!($Arg =~ /^-/)) {
661 push @Files, $Arg;