[curlpp] Fix build

Veeti Paananen vpaan at fedoraproject.org
Mon Jul 23 18:59:27 UTC 2012


commit 8f3ebe4e2d2cad95bd583b45048c2f4f75aeecd8
Author: Veeti Paananen <veeti.paananen at rojekti.fi>
Date:   Mon Jul 23 21:58:31 2012 +0300

    Fix build
    
    The compiler flags were not being propagated properly by the
    configuration script to the build commands.

 curlpp.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/curlpp.spec b/curlpp.spec
index 34e3a58..6e5c28a 100644
--- a/curlpp.spec
+++ b/curlpp.spec
@@ -1,6 +1,6 @@
 Name: curlpp
 Version: 0.7.3
-Release: 8%{?dist}
+Release: 9%{?dist}
 Summary: A C++ wrapper for libcURL
 
 Group: System Environment/Libraries
@@ -46,7 +46,7 @@ sed -i '28 d' include/curlpp/Types.hpp
 
 %build
 %configure --disable-static
-make %{?_smp_mflags}
+make %{?_smp_mflags} CPPFLAGS="%{optflags}"
 
 
 %install
@@ -88,6 +88,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon Jul 23 2012 Veeti Paananen <veeti.paananen at rojekti.fi> - 0.7.3-9
+- Fix build 
+
 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7.3-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list