packages: xmlrpc-c/xmlrpc-c.spec - use new cmake macros, avoid forcing -O3
qboosh
qboosh at pld-linux.org
Wed Jan 26 18:41:20 CET 2011
Author: qboosh Date: Wed Jan 26 17:41:20 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- use new cmake macros, avoid forcing -O3
---- Files affected:
packages/xmlrpc-c:
xmlrpc-c.spec (1.41 -> 1.42)
---- Diffs:
================================================================
Index: packages/xmlrpc-c/xmlrpc-c.spec
diff -u packages/xmlrpc-c/xmlrpc-c.spec:1.41 packages/xmlrpc-c/xmlrpc-c.spec:1.42
--- packages/xmlrpc-c/xmlrpc-c.spec:1.41 Wed Jan 26 18:06:27 2011
+++ packages/xmlrpc-c/xmlrpc-c.spec Wed Jan 26 18:41:14 2011
@@ -28,6 +28,7 @@
BuildRequires: ncurses-devel >= 5.7-21
BuildRequires: pkgconfig
BuildRequires: readline-devel
+BuildRequires: rpmbuild(macros) >= 1.577
BuildRequires: w3c-libwww-devel >= 5.4.0-11
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -174,13 +175,14 @@
cd build
%cmake .. \
-D_lib:STRING=%{_lib} \
+ -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" \
+ -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
-DMUST_BUILD_CURL_CLIENT:BOOL=ON \
-DMUST_BUILD_LIBWWW_CLIENT:BOOL=ON \
- -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DENABLE_TOOLS:BOOL=ON
-%{__make} VERBOSE=1
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
@@ -313,6 +315,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.42 2011/01/26 17:41:14 qboosh
+- use new cmake macros, avoid forcing -O3
+
Revision 1.41 2011/01/26 17:06:27 qboosh
- completed pl
- -static are gone due to cmake transition
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xmlrpc-c/xmlrpc-c.spec?r1=1.41&r2=1.42&f=u
More information about the pld-cvs-commit
mailing list