[packages/jsoncpp] - inline-small-function causes maxint32 test to fail on 32bit archs

baggins baggins at pld-linux.org
Sat Dec 7 22:25:24 CET 2013


commit c78f989dcf0b519df3533b18db206af915e4a584
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Dec 7 22:25:00 2013 +0100

    - inline-small-function causes maxint32 test to fail on 32bit archs

 jsoncpp.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/jsoncpp.spec b/jsoncpp.spec
index 81031bd..0b0c584 100644
--- a/jsoncpp.spec
+++ b/jsoncpp.spec
@@ -39,7 +39,7 @@ Headers and libraries for JSONCPP.
 %patch0 -p1
 %{__sed} -i -e '
 	s|g++|%{__cxx}| # FIXME: still does not work
-	s|@@OPTFLAGS@@|%{rpmcxxflags}|
+	s|@@OPTFLAGS@@|%{rpmcxxflags} -fno-inline-small-functions|
 ' SConstruct
 
 %build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/jsoncpp.git/commitdiff/c78f989dcf0b519df3533b18db206af915e4a584



More information about the pld-cvs-commit mailing list