diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-10-05 09:45:59 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-10-05 10:13:04 +0200 |
commit | 720f8eb18ec1201998734d59bd12e97105bed604 (patch) | |
tree | 9aed0ff931b5d82b25d6f25ea6dee56f5da7d937 /tools/ccache/patches | |
parent | 4855fa35e37726b90466ed032cae46e4bb8cf83c (diff) | |
download | mtk-20170518-720f8eb18ec1201998734d59bd12e97105bed604.zip mtk-20170518-720f8eb18ec1201998734d59bd12e97105bed604.tar.gz mtk-20170518-720f8eb18ec1201998734d59bd12e97105bed604.tar.bz2 |
ccache: disable assembler support, it breaks kernel initramfs images
The reason is that ccache does not recognize and process the .incbin
directive, so caching is unreliable.
See https://github.com/ccache/ccache/issues/136 for more information.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/ccache/patches')
-rw-r--r-- | tools/ccache/patches/110-disable-assembler-support.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tools/ccache/patches/110-disable-assembler-support.patch b/tools/ccache/patches/110-disable-assembler-support.patch new file mode 100644 index 0000000..3e6cd8c --- /dev/null +++ b/tools/ccache/patches/110-disable-assembler-support.patch @@ -0,0 +1,32 @@ +--- a/language.c ++++ b/language.c +@@ -37,14 +37,18 @@ static const struct { + {".m", "objective-c"}, + {".M", "objective-c++"}, + {".mm", "objective-c++"}, ++#if 0 + {".sx", "assembler-with-cpp"}, + {".S", "assembler-with-cpp"}, ++#endif + // Preprocessed: + {".i", "cpp-output"}, + {".ii", "c++-cpp-output"}, + {".mi", "objective-c-cpp-output"}, + {".mii", "objective-c++-cpp-output"}, ++#if 0 + {".s", "assembler"}, ++#endif + // Header file (for precompilation): + {".h", "c-header"}, + {".H", "c++-header"}, +@@ -109,8 +113,10 @@ static const struct { + {"objective-c++-header", "objective-c++-cpp-output"}, + {"objective-c++-cpp-output", "objective-c++-cpp-output"}, + {"cuda", "cuda-output"}, ++#if 0 + {"assembler-with-cpp", "assembler"}, + {"assembler", "assembler"}, ++#endif + {"f77-cpp-input", "f77"}, + {"f77", "f77"}, + #if 0 // Could generate module files, ignore for now! |