[openni] Fix passing of opt cflags, fixes bz #735594
Tim Niemueller
timn at fedoraproject.org
Tue Oct 11 22:31:06 UTC 2011
commit 0df5659fa77d5571deedd0aa416cf79773df52e1
Author: Tim Niemueller <niemueller at kbsg.rwth-aachen.de>
Date: Wed Oct 12 00:30:58 2011 +0200
Fix passing of opt cflags, fixes bz #735594
openni.spec | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/openni.spec b/openni.spec
index 392bb6a..b8d6d7a 100644
--- a/openni.spec
+++ b/openni.spec
@@ -2,7 +2,7 @@
Name: openni
Version: 1.3.2.1
-Release: 0.1.git%{gitrev}%{?dist}
+Release: 0.2.git%{gitrev}%{?dist}
Summary: Library for human-machine Natural Interaction
Group: System Environment/Libraries
@@ -96,8 +96,9 @@ dos2unix LGPL.txt
%build
cd Platform/Linux-x86/CreateRedist
# {?_smp_mflags} omitted, not supported by OpenNI Makefiles
-sed -i "s|make -C ../Build|make -C ../Build CFLAGS_EXT=\\\\\"%{optflags}\\\\\" SSE_GENERATION=2 DEBUG=1|" Redist_OpenNi.py
+CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" SSE_GENERATION=2 DEBUG=1 \
./RedistMaker
+cat Output/BuildOpenNI.txt
%install
@@ -193,6 +194,9 @@ fi
%changelog
+* Wed Oct 12 2011 Tim Niemueller <tim at niemueller.de> 1.3.2.1-0.2.gitf8467404
+- Fix passing of opt cflags, fixes bz #735594
+
* Tue Aug 30 2011 Tim Niemueller <tim at niemueller.de> 1.3.2.1-0.1.gitf8467404
- Update to stable 1.3.2.1 based on patch by Anders Blomdell
More information about the scm-commits
mailing list