[OpenSceneGraph] Append -pthread to CXXFLAGS (Fix FTBFS).

corsepiu corsepiu at fedoraproject.org
Mon May 7 06:43:48 UTC 2012


commit f4ab4a174556517b9f81c7cc582bb9caff07d7dc
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Mon May 7 08:43:32 2012 +0200

    Append -pthread to CXXFLAGS (Fix FTBFS).

 OpenSceneGraph.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/OpenSceneGraph.spec b/OpenSceneGraph.spec
index 06069af..2b44eab 100644
--- a/OpenSceneGraph.spec
+++ b/OpenSceneGraph.spec
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2005 - 2011 Ralf Corsepius, Ulm, Germany.
+# Copyright (c) 2005 - 2012 Ralf Corsepius, Ulm, Germany.
 # This file and all modifications and additions to the pristine
 # package are under the same license as the package itself.
 #
@@ -9,7 +9,7 @@
 
 Name:           OpenSceneGraph
 Version:        %{apivers}
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        High performance real-time graphics toolkit
 
 Group:          Applications/Multimedia
@@ -77,6 +77,7 @@ cd ..
 mkdir -p BUILD
 pushd BUILD
 CFLAGS="${RPM_OPT_FLAGS} -pthread"
+CXXFLAGS="${RPM_OPT_FLAGS} -pthread"
 %cmake -DBUILD_OSG_EXAMPLES=ON -DBUILD_DOCUMENTATION=ON ../OpenSceneGraph-%{version} -Wno-dev
 make VERBOSE=1 %{?_smp_mflags}
 
@@ -473,6 +474,9 @@ Development files for OpenThreads.
 %{_includedir}/OpenThreads
 
 %changelog
+* Mon May 07 2012 Ralf Corsépius <corsepiu at fedoraproject.org> - 3.0.1-10
+- Append -pthread to CXXFLAGS (Fix FTBFS).
+
 * Tue Feb 28 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.1-9
 - Rebuilt for c++ ABI breakage
 


More information about the scm-commits mailing list