diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 12:14:45 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 12:14:45 +0000 |
commit | d3e83d141f48a653be57e8184d5703025ed1ed29 (patch) | |
tree | 42c5cd130bfe287272c38b3a6c507efa92a8a626 /macros.clang | |
parent | 4a5e16f8a5e5f63acb8cde0e5b24893aa78165db (diff) |
automatic import of clangopeneuler24.03_LTS
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} |