SPECS: policyd.spec - use optflags, avoid foreign -I/-L
qboosh
qboosh at pld-linux.org
Wed Nov 16 11:17:56 CET 2005
Author: qboosh Date: Wed Nov 16 10:17:56 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use optflags, avoid foreign -I/-L
---- Files affected:
SPECS:
policyd.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SPECS/policyd.spec
diff -u SPECS/policyd.spec:1.7 SPECS/policyd.spec:1.8
--- SPECS/policyd.spec:1.7 Wed Nov 16 11:13:18 2005
+++ SPECS/policyd.spec Wed Nov 16 11:17:50 2005
@@ -1,7 +1,5 @@
# $Id$
#
-# TODO: optflags
-#
# TODO: upgrade database smooth
# smart updates tables from older to newer version of policyd
#
@@ -58,7 +56,11 @@
%setup -q -n %{name}-v%{version}
%build
-%{__make} build
+%{__make} build \
+ CC="%{__cc}" \
+ CPPFLAGS="-I/usr/include/mysql" \
+ CFLAGS="%{rpmcflags} -W -Wall -DMAXFDS=1023" \
+ lib=
%install
rm -rf $RPM_BUILD_ROOT
@@ -116,6 +118,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2005/11/16 10:17:50 qboosh
+- use optflags, avoid foreign -I/-L
+
Revision 1.7 2005/11/16 10:13:18 qboosh
- removed autodetected Rs
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/policyd.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list