summaryrefslogtreecommitdiffstats
path: root/ci/config.mk.clang-12.sed
diff options
context:
space:
mode:
Diffstat (limited to 'ci/config.mk.clang-12.sed')
-rw-r--r--ci/config.mk.clang-12.sed3
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/config.mk.clang-12.sed b/ci/config.mk.clang-12.sed
new file mode 100644
index 0000000..810b723
--- /dev/null
+++ b/ci/config.mk.clang-12.sed
@@ -0,0 +1,3 @@
+# Clang 12 (or Apple clang 13) and later makes a warning '-Wcompound-token-split-by-macro' enable by default.
+/^PERL_CFLAGS_EXTRA[[:blank:]]*=/s/$/ -Wno-error=compound-token-split-by-macro/
+/^RUBY_CFLAGS_EXTRA[[:blank:]]*=/s/$/ -Wno-error=compound-token-split-by-macro/