!15 [sync] PR-14: 默认禁止LTO优化
From: @openeuler-sync-bot Reviewed-by: @cf-zhao Signed-off-by: @cf-zhao
This commit is contained in:
commit
cca915d76b
@ -24,9 +24,12 @@
|
||||
%global build_install_prefix %{buildroot}%{install_prefix}
|
||||
%global llvm_triple %{_host}
|
||||
|
||||
# Disable LTO as this causes crash if gcc lto enabled.
|
||||
%define _lto_cflags %{nil}
|
||||
|
||||
Name: %{pkg_name}
|
||||
Version: %{maj_ver}.%{min_ver}.%{patch_ver}
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: The Low Level Virtual Machine
|
||||
|
||||
License: NCSA
|
||||
@ -318,6 +321,9 @@ fi
|
||||
%{_libdir}/%{name}/lib/libLLVMTestingSupport.a
|
||||
|
||||
%changelog
|
||||
* Wed Jun 7 2023 Chenxi Mao <chenxi.mao@suse.com> - 15.0.7-2
|
||||
- Disable LTO as this causes crash if gcc lto enabled.
|
||||
|
||||
* Mon Feb 20 2023 Chenxi Mao <chenxi.mao@suse.com> - 15.0.7-1
|
||||
- Upgrade to 15.0.7.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user