From: Joel Rosdahl Date: Thu, 5 May 2022 19:29:37 +0000 (+0200) Subject: chore: Add knowledge of linker option -z to avoid note in debug log X-Git-Tag: v4.6.1~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc4b0d5cea97bc228a866aa7323db803fc3a2303;p=thirdparty%2Fccache.git chore: Add knowledge of linker option -z to avoid note in debug log Closes #1061. --- diff --git a/src/compopt.cpp b/src/compopt.cpp index 32cac8ad7..8f1ff8944 100644 --- a/src/compopt.cpp +++ b/src/compopt.cpp @@ -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