public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Set CXXFLAXS without -match=i386 for i386 architecture
@ 2026-08-28 13:29 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-28 13:29 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/opencv
Branch : opencv5
Commit : dd077b1001ec7bebdd69fc4698cb00d560f095f3
Author : Karel Klíč <kklic@fedoraproject.org>
Date   : 2010-02-16T12:23:24+00:00
Stats  : +9/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/opencv/c/dd077b1001ec7bebdd69fc4698cb00d560f095f3?branch=opencv5

Log:
Set CXXFLAXS without -match=i386 for i386 architecture

---
diff --git a/opencv.spec b/opencv.spec
index 51a9e0e..1178351 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -4,7 +4,7 @@
 
 Name:           opencv
 Version:        2.0.0
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Collection of algorithms for computer vision
 
 Group:          Development/Libraries
@@ -39,7 +39,6 @@ BuildRequires:  python-imaging, numpy
 %{!?_without_gstreamer:BuildRequires:  gstreamer-devel}
 %{?_with_xine:BuildRequires:  xine-lib-devel}
 
-
 %description
 OpenCV means Intel® Open Source Computer Vision Library. It is a collection of
 C functions and a few C++ classes that implement some popular Image Processing
@@ -77,6 +76,11 @@ This package contains Python bindings for the OpenCV library.
 autoreconf -vif
 
 %build
+
+%ifarch i386
+export CXXFLAGS="%{__global_cflags} -m32 -fasynchronous-unwind-tables"
+%endif
+
 export SWIG_PYTHON_LIBS=%{_libdir}
 %configure --disable-static --enable-apps \
   %{?_with_ffmpeg:--with-ffmpeg}%{!?_with_ffmpeg:--without-ffmpeg} \
@@ -155,6 +159,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Feb 16 2010 Karel Klic <kklic@redhat.com> - 2.0.0-5
+- Set CXXFLAXS without -match=i386 for i386 architecture #565074
+
 * Sat Jan 09 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 2.0.0-4
 - Updated opencv-samples-Makefile (Thanks Scott Tsai) #553697
 

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

only message in thread, other threads:[~2026-08-28 13:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-28 13:29 [rpms/opencv] opencv5: Set CXXFLAXS without -match=i386 for i386 architecture 

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