diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 14:26:08 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 14:26:08 +0000 |
commit | ead57af56f3be06056f36a620602d30aa529b4b7 (patch) | |
tree | 42c5cd130bfe287272c38b3a6c507efa92a8a626 /macros.clang | |
parent | 40fbc8fc861e179c0fb238ec633d49b81f203aca (diff) |
automatic import of clangopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'macros.clang')
-rw-r--r-- | macros.clang | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/macros.clang b/macros.clang new file mode 100644 index 0000000..88f259d --- /dev/null +++ b/macros.clang @@ -0,0 +1,11 @@ +%clang_major_version @@CLANG_MAJOR_VERSION@@ +%clang_minor_version @@CLANG_MINOR_VERSION@@ +%clang_patch_version @@CLANG_PATCH_VERSION@@ + +%clang_version %{clang_major_version}.%{clang_minor_version}.%{clang_patch_version} + +# This is the path to the clang resource directory that has clang's internal +# headers and libraries. This path should be used by packages that need to +# install files into this directory. This macro's value changes every time +# clang's version changes. +%clang_resource_dir %{_prefix}/lib/clang/%{clang_major_version} |