Disable rpath

Resolves: RHEL-9028
This commit is contained in:
Nikita Popov 2023-10-13 15:54:40 +02:00
parent 1a45604553
commit 881628aec1

View File

@ -1,7 +1,7 @@
%global maj_ver 16
%global min_ver 0
%global patch_ver 6
%global baserelease 1
%global baserelease 2
# Limit build jobs on ppc64 systems to avoid running out of memory.
%global _smp_mflags -j8
@ -96,6 +96,7 @@ pushd llvm-build
# force off shared libs as cmake macros turns it on.
%cmake ../llvm-%{version}.src -G Ninja \
-DBUILD_SHARED_LIBS:BOOL=OFF \
-DCMAKE_SKIP_RPATH:BOOL=ON \
%ifarch ppc64le
-DCMAKE_BUILD_TYPE=Release \
%else
@ -161,6 +162,9 @@ done
%endif
%changelog
* Fri Oct 13 2023 Nikita Popov <npopov@redhat.com> - 16.0.6-2
- Disable rpath
* Wed Oct 04 2023 Nikita Popov <npopov@redhat.com> - 16.0.6-1
- 16.0.6 Release