Bail out early on -arch since it's too hard

This commit is contained in:
Joel Rosdahl 2010-05-09 13:08:06 +02:00
parent b964c173cf
commit d4a20d5a3a
2 changed files with 5 additions and 3 deletions

View File

@ -125,9 +125,10 @@ Bug fixes
hash collisions. For instance, the compiler options `-X -Y` and `-X-Y`
previously contributed equally to the hash sum.
- Bail out on too hard compiler options `--coverage`, `-fprofile-arcs`,
`-fprofile-generate`, `-fprofile-use`, `-ftest-coverage` and
`-save-temps`. Also bail out on `@file` style options.
- Bail out on too hard compiler options `--coverage`, `-arch`,
`-fprofile-arcs`, `-fprofile-generate`, `-fprofile-use`,
`-ftest-coverage` and `-save-temps`. Also bail out on `@file` style
options.
- `-MD`/`-MMD` options without `-MT`/`-MF` are now handled correctly.

View File

@ -1231,6 +1231,7 @@ static void process_args(int argc, char **argv, ARGS **preprocessor_args,
strcmp(argv[i], "--coverage") == 0 ||
strcmp(argv[i], "-M") == 0 ||
strcmp(argv[i], "-MM") == 0 ||
strcmp(argv[i], "-arch") == 0 ||
strcmp(argv[i], "-fbranch-probabilities") == 0 ||
strcmp(argv[i], "-fprofile-arcs") == 0 ||
strcmp(argv[i], "-fprofile-generate") == 0 ||