]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
chore: Add knowledge of linker option -z to avoid note in debug log
authorJoel Rosdahl <joel@rosdahl.net>
Thu, 5 May 2022 19:29:37 +0000 (21:29 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 5 May 2022 19:52:58 +0000 (21:52 +0200)
Closes #1061.

src/compopt.cpp

index 32cac8ad74fec5b880fdd1de9def481f15b04c85..8f1ff894418b0ce4cecae419a7dbdb51fa4957b8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2021 Joel Rosdahl and other contributors
+// Copyright (C) 2010-2022 Joel Rosdahl and other contributors
 //
 // See doc/AUTHORS.adoc for a complete list of contributors.
 //
@@ -153,6 +153,7 @@ const CompOpt compopts[] = {
   {"-stdlib=", AFFECTS_CPP | TAKES_CONCAT_ARG},
   {"-trigraphs", AFFECTS_CPP},
   {"-u", TAKES_ARG | TAKES_CONCAT_ARG},
+  {"-z", TAKES_ARG | TAKES_CONCAT_ARG | AFFECTS_COMP},
 };
 
 static int