mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 09:32:42 +00:00
Only use cet-report=error on x86_64
i386 CET support has been removed from glibc. Only check it for
x86_64.
This is a cherry-pick of fefb87d583
This commit is contained in:
parent
ab194f104b
commit
32c3bcc36f
1 changed files with 2 additions and 0 deletions
|
@ -189,7 +189,9 @@ cd llvm
|
|||
-DLLVM_INSTALL_SPHINX_HTML_DIR=%{_pkgdocdir}/html \
|
||||
-DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3 \
|
||||
-DLLVM_INCLUDE_BENCHMARKS=OFF \
|
||||
%ifarch x86_64
|
||||
-DCMAKE_SHARED_LINKER_FLAGS="$LDFLAGS -Wl,-z,cet-report=error" \
|
||||
%endif
|
||||
%if %{without snapshot_build}
|
||||
-DLLVM_UNITTEST_LINK_FLAGS="-Wl,-plugin-opt=O0"
|
||||
%endif
|
||||
|
|
Loading…
Reference in a new issue