mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-12-01 03:32:55 +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
eb12c13273
commit
d168c1664f
1 changed files with 2 additions and 0 deletions
|
@ -189,7 +189,9 @@ cd llvm
|
||||||
-DLLVM_INSTALL_SPHINX_HTML_DIR=%{_pkgdocdir}/html \
|
-DLLVM_INSTALL_SPHINX_HTML_DIR=%{_pkgdocdir}/html \
|
||||||
-DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3 \
|
-DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3 \
|
||||||
-DLLVM_INCLUDE_BENCHMARKS=OFF \
|
-DLLVM_INCLUDE_BENCHMARKS=OFF \
|
||||||
|
%ifarch x86_64
|
||||||
-DCMAKE_SHARED_LINKER_FLAGS="$LDFLAGS -Wl,-z,cet-report=error" \
|
-DCMAKE_SHARED_LINKER_FLAGS="$LDFLAGS -Wl,-z,cet-report=error" \
|
||||||
|
%endif
|
||||||
%if %{without snapshot_build}
|
%if %{without snapshot_build}
|
||||||
-DLLVM_UNITTEST_LINK_FLAGS="-Wl,-plugin-opt=O0"
|
-DLLVM_UNITTEST_LINK_FLAGS="-Wl,-plugin-opt=O0"
|
||||||
%endif
|
%endif
|
||||||
|
|
Loading…
Reference in a new issue