public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pcl] f44: Add -g1 and remove -pipe on 32 bit arches
@ 2026-06-25  5:49 Rich Mattes
  0 siblings, 0 replies; only message in thread
From: Rich Mattes @ 2026-06-25  5:49 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/pcl
Branch : f44
Commit : 49dabbd573dfa5610933859eba660bae4c2a5c17
Author : Rich Mattes <richmattes@gmail.com>
Date   : 2019-02-16T10:25:43-05:00
Stats  : +3/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/pcl/c/49dabbd573dfa5610933859eba660bae4c2a5c17?branch=f44

Log:
Add -g1 and remove -pipe on 32 bit arches

---
diff --git a/pcl.spec b/pcl.spec
index 265d391..75e72b7 100644
--- a/pcl.spec
+++ b/pcl.spec
@@ -94,9 +94,10 @@ mkdir build
 pushd build
 # try to reduce memory usage of compile process (can cause OOM errors
 # esp. on ARM builders)
-%ifarch %{arm}
-%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
+%if "%{_lib}" == "lib"
+%global optflags %(echo %{optflags} | sed -e 's/-g /-g1 /' -e 's/-pipe //')
 %endif
+
 %cmake \
   -DWITH_DOCS=ON \
   -DWITH_CUDA=OFF \

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

only message in thread, other threads:[~2026-06-25  5:49 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:49 [rpms/pcl] f44: Add -g1 and remove -pipe on 32 bit arches Rich Mattes

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