mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 18:36:50 +00:00
Undefine __cmake_in_source_build on RHEL 8
So we get the same behavior as in newer versions.
This commit is contained in:
parent
1dd985a086
commit
c956fce064
1 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,10 @@ export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:`pwd`/llvm/%{_vpath_builddir}/%{_lib}
|
||||||
|
|
||||||
cd llvm
|
cd llvm
|
||||||
|
|
||||||
|
%if 0%{?rhel} == 8
|
||||||
|
%undefine __cmake_in_source_build
|
||||||
|
%endif
|
||||||
|
|
||||||
# TODO(kkleine): Follow more closely the Distribution guidelines found here: https://llvm.org/docs/BuildingADistribution.html
|
# TODO(kkleine): Follow more closely the Distribution guidelines found here: https://llvm.org/docs/BuildingADistribution.html
|
||||||
# force off shared libs as cmake macros turns it on.
|
# force off shared libs as cmake macros turns it on.
|
||||||
# TODO: Disable LLVM_UNREACHABLE_OPTIMIZE.
|
# TODO: Disable LLVM_UNREACHABLE_OPTIMIZE.
|
||||||
|
|
Loading…
Reference in a new issue