Skip to content

Commit c14e5cf

Browse files
nikictbaederr
authored andcommitted
Fix clang resource directory path
The clang resource directory is always in lib/, while this was creating the directories in lib64 (for 64-bit symbols). This should fix the following error on ppc64le: > error: Directory not found: /builddir/build/BUILDROOT/llvm-19.0.0~pre20240528.g1de1ee9cbabd64-1.fc39.ppc64le/usr/lib/clang/19/bin
1 parent 99dd05a commit c14e5cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.spec.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ chmod u-x %{buildroot}%{_mandir}/man1/scan-build.1*
182182

183183
# Create sub-directories in the clang resource directory that will be
184184
# populated by other packages
185-
mkdir -p %{buildroot}%{install_libdir}/clang/%{maj_ver}/{bin,include,lib,share}/
185+
mkdir -p %{buildroot}%{_prefix}/lib/clang/%{maj_ver}/{bin,include,lib,share}/
186186

187187
%if %{without compat_build}
188188
# Add a symlink in /usr/bin to clang-format-diff

0 commit comments

Comments
 (0)