Projects
home:zhoujc:Mega:23.09
lxc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 4
View file
_service:tar_scm:lxc.spec
Changed
@@ -1,8 +1,5 @@ -%global _release 14 +%global _release 13 %global enable_isulad 1 -%if "%toolchain" == "clang" -%define %global _lto_cflags %nil -%endif Name: lxc Version: 5.0.2 @@ -28,6 +25,10 @@ Patch0014: 0014-fix-cpuset-cgroup-error.patch Patch0015: 0015-append-mntopt-to-mntdata-if-not-found-in-mount_opt.patch +%if "%toolchain" == "clang" +Patch0016: 0016-disable-thinLTO-for-building-with-clang-and-ld.bfd.patch +%endif + BuildRequires: systemd-units git libtool graphviz docbook2X doxygen chrpath BuildRequires: pkgconfig(libseccomp) BuildRequires: libcap libcap-devel libselinux-devel yajl yajl-devel @@ -214,17 +215,11 @@ %endif %changelog -* Mon Mar 11 2024 jchzhou <zhoujiacheng@iscas.ac.cn> - 5.0.2-14 -- Type: bugfix -- ID:NA -- SUG:NA -- DESC: disable ThinLTO when building with clang - -* Thu Feb 22 2024 jikai<jikai11@huawei.com> - 5.0.2-13 +* Mon Mar 11 2024 jchzhou <zhoujiacheng@iscas.ac.cn> - 5.0.2-13 - Type: bugfix - ID:NA - SUG:NA -- DESC: disable ThinLTO when building with clang +- DESC: add a patch to disable ThinLTO when building with clang & ld.bfd * Thu Feb 22 2024 jikai<jikai11@huawei.com> - 5.0.2-12 - Type: bugfix
View file
_service:tar_scm:0016-disable-thinLTO-for-building-with-clang-and-ld.bfd.patch
Added
@@ -0,0 +1,25 @@ +From 49fb7062907b5cff51a439875266ee27fad3c46a Mon Sep 17 00:00:00 2001 +From: jchzhou <zhoujiacheng@iscas.ac.cn> +Date: Mon, 11 Mar 2024 18:53:43 +0800 +Subject: PATCH disable thinLTO (for building with clang and ld.bfd) + +--- + meson.build | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/meson.build b/meson.build +index 1b2d673..888dbcb 100644 +--- a/meson.build ++++ b/meson.build +@@ -7,8 +7,6 @@ project( + version: '5.0.2', + license: 'LGPLv2+', + default_options: +- 'b_lto=true', +- 'b_lto_mode=thin', + 'b_colorout=always', + 'b_asneeded=false', + 'b_pie=true', +-- +2.44.0 +
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2