[curlpp/el6] Fix build

Veeti Paananen vpaan at fedoraproject.org
Thu Dec 5 12:44:45 UTC 2013


commit 71ee462f51953a8608a2bf389165d79d82392d3c
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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/curlpp.spec b/curlpp.spec
index 506b25f..652a117 100644
--- a/curlpp.spec
+++ b/curlpp.spec
@@ -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


More information about the scm-commits mailing list