ccache: disable assembler support, it breaks kernel initramfs images
[openwrt/openwrt.git] / tools / ccache / patches / 110-disable-assembler-support.patch
1 --- a/language.c
2 +++ b/language.c
3 @@ -37,14 +37,18 @@ static const struct {
4 {".m", "objective-c"},
5 {".M", "objective-c++"},
6 {".mm", "objective-c++"},
7 +#if 0
8 {".sx", "assembler-with-cpp"},
9 {".S", "assembler-with-cpp"},
10 +#endif
11 // Preprocessed:
12 {".i", "cpp-output"},
13 {".ii", "c++-cpp-output"},
14 {".mi", "objective-c-cpp-output"},
15 {".mii", "objective-c++-cpp-output"},
16 +#if 0
17 {".s", "assembler"},
18 +#endif
19 // Header file (for precompilation):
20 {".h", "c-header"},
21 {".H", "c++-header"},
22 @@ -109,8 +113,10 @@ static const struct {
23 {"objective-c++-header", "objective-c++-cpp-output"},
24 {"objective-c++-cpp-output", "objective-c++-cpp-output"},
25 {"cuda", "cuda-output"},
26 +#if 0
27 {"assembler-with-cpp", "assembler"},
28 {"assembler", "assembler"},
29 +#endif
30 {"f77-cpp-input", "f77"},
31 {"f77", "f77"},
32 #if 0 // Could generate module files, ignore for now!