mirror of
https://src.fedoraproject.org/rpms/libomp.git
synced 2024-11-24 08:12:42 +00:00
Don't explicitly set LIBOMP_HAVE_VERSION_SCRIPT_FLAG
This is working around an issue that has been fixed in https://reviews.llvm.org/D148798.
This commit is contained in:
parent
7cfd6fed80
commit
ee22a23839
1 changed files with 1 additions and 3 deletions
|
@ -87,7 +87,6 @@ OpenMP header files.
|
|||
%autosetup -n %{libomp_srcdir} -p2
|
||||
|
||||
%build
|
||||
# TODO: LIBOMP_HAVE_VERSION_SCRIPT_FLAG should be set automatically.
|
||||
%cmake -GNinja \
|
||||
-DLIBOMP_INSTALL_ALIASES=OFF \
|
||||
-DCMAKE_MODULE_PATH=%{_datadir}/llvm/cmake/Modules \
|
||||
|
@ -101,8 +100,7 @@ OpenMP header files.
|
|||
%if %{with snapshot_build}
|
||||
-DLLVM_VERSION_SUFFIX="%{llvm_snapshot_version_suffix}" \
|
||||
%endif
|
||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
||||
-DLIBOMP_HAVE_VERSION_SCRIPT_FLAG:BOOL=ON
|
||||
-DCMAKE_SKIP_RPATH:BOOL=ON
|
||||
|
||||
%cmake_build
|
||||
|
||||
|
|
Loading…
Reference in a new issue