[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-kbuild
Subject: [PATCH v2 0/2] Add version macros for clang
From: Sami Tolvanen <samitolvanen () google ! com>
Date: 2017-11-30 23:38:25
Message-ID: 20171130233827.130069-1-samitolvanen () google ! com
[Download RAW message or body]
This patch set adds macros for checking clang version.
Changes from v1:
- fixed a comment in clang-version.sh
- renamed macros to __cc-ifversion and __cc-if-fullversion
- fixed a bug with non-bash shells
- dropped the arm64 patch as unnecessary
Sami Tolvanen (2):
kbuild: add clang-version.sh
kbuild: add __cc-ifversion and compiler-specific variants
scripts/Kbuild.include | 41 ++++++++++++++++++++++++++++++++++-------
scripts/clang-version.sh | 33 +++++++++++++++++++++++++++++++++
2 files changed, 67 insertions(+), 7 deletions(-)
create mode 100755 scripts/clang-version.sh
--
2.15.0.531.g2ccb3012c9-goog
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic