mirror of
https://github.com/reactos/ccache.git
synced 2025-01-07 11:30:34 +00:00
Bail out early on -arch since it's too hard
This commit is contained in:
parent
b964c173cf
commit
d4a20d5a3a
7
NEWS.txt
7
NEWS.txt
@ -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.
|
||||
|
||||
|
1
ccache.c
1
ccache.c
@ -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 ||
|
||||
|
Loading…
Reference in New Issue
Block a user