public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ode] epel10.3: - Force proper use of RPM_OPT_FLAGS during build
@ 2026-11-30 16:34 Hans de Goede
  0 siblings, 0 replies; only message in thread
From: Hans de Goede @ 2026-11-30 16:34 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/ode
Branch : epel10.3
Commit : 890a450aa4a0d14eb05771ba3387d30a17a65148
Author : Hans de Goede <jwrdegoede@fedoraproject.org>
Date   : 2008-04-03T13:07:56+00:00
Stats  : +7/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/ode/c/890a450aa4a0d14eb05771ba3387d30a17a65148?branch=epel10.3

Log:
- Force proper use of RPM_OPT_FLAGS during build

---
diff --git a/ode.spec b/ode.spec
index c2c2f13..010d24c 100644
--- a/ode.spec
+++ b/ode.spec
@@ -1,6 +1,6 @@
 Name:           ode
 Version:        0.9
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        High performance library for simulating rigid body dynamics
 Group:          System Environment/Libraries
 License:        BSD or LGPLv2+
@@ -45,10 +45,10 @@ chmod -x ode/src/stepfast.cpp include/ode/collision_trimesh.h
 
 
 %build
-export CFLAGS="%{optflags} -ffast-math -fPIC"
-export CXXFLAGS="%{optflags} -ffast-math -fPIC"
 %configure --enable-shared --enable-soname
-make %{?_smp_mflags}
+# <sigh> ./configure doesn't properly pick up our CFLAGS
+make %{?_smp_mflags} CFLAGS="%{optflags} -ffast-math" \
+  CXXFLAGS="%{optflags} -ffast-math"
 
 
 %install
@@ -79,6 +79,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Apr  3 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.9-4
+- Force proper use of RPM_OPT_FLAGS during build
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9-3
 - Autorebuild for GCC 4.3
 

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

only message in thread, other threads:[~2026-11-30 16:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-30 16:34 [rpms/ode] epel10.3: - Force proper use of RPM_OPT_FLAGS during build Hans de Goede

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