public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pcl] f44: Disable fat-lto-objects to reduce memory usage
@ 2026-06-25  5:50 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-25  5:50 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/pcl
            Branch : f44
            Commit : d115054c29fb244c1ad0d161c1fb3f6e60677a84
            Author : Björn Esser <besser82@fedoraproject.org>
            Date   : 2021-08-20T17:08:11+02:00
            Stats  : +6/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/pcl/c/d115054c29fb244c1ad0d161c1fb3f6e60677a84?branch=f44

            Log:
            Disable fat-lto-objects to reduce memory usage
Doing so will not hurt as we are not shipping any static libraries

---
diff --git a/pcl.spec b/pcl.spec
index a05375e..193093e 100644
--- a/pcl.spec
+++ b/pcl.spec
@@ -104,7 +104,7 @@ sed -i 's|@PCL_SOURCE_DIR@/build|@PCL_SOURCE_DIR@/%{_vpath_builddir}|' doc/doxyg
 %build
 # try to reduce memory usage of compile process (can cause OOM errors
 # esp. on ARM builders)
-%global optflags %(echo %{optflags} | sed -e 's/-g /-g1 /' -e 's/-pipe //')
+%global optflags %(echo %{optflags} | sed -e 's/-g /-g1 /' -e 's/-pipe //' -e's/-ffat-lto-objects/-fno-fat-lto-objects/')
 
 %cmake \
   -DCMAKE_BUILD_TYPE=None \
@@ -191,7 +191,11 @@ mv $RPM_BUILD_ROOT%{_datadir}/%{name}-*/Modules $RPM_BUILD_ROOT%{_libdir}/cmake/
 %doc %{_vpath_builddir}/doc/advanced/advanced
 
 %changelog
-* Mon Aug 17 2021 Rich Mattes <richmattes@gmail.com> - 1.12.0-1
+* Fri Aug 20 2021 Björn Esser <besser82@fedoraproject.org> - 1.12.0-1
+- Disable fat-lto-objects to reduce memory usage
+  Doing so will not hurt as we are not shipping any static libraries
+
+* Tue Aug 17 2021 Rich Mattes <richmattes@gmail.com> - 1.12.0-1
 - Drop "oom" patch to resolve multiple definition error and fix FTBFS (rhbz#1992893)
 - Enable LTO and add library versions in files section
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-25  5:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-25  5:50 [rpms/pcl] f44: Disable fat-lto-objects to reduce memory usage 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox