SPECS: openvpn.spec - pass OPTFLAGS when compiling plugins

glen glen at pld-linux.org
Mon Oct 3 18:08:39 CEST 2005


Author: glen                         Date: Mon Oct  3 16:08:39 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pass OPTFLAGS when compiling plugins

---- Files affected:
SPECS:
   openvpn.spec (1.97 -> 1.98) 

---- Diffs:

================================================================
Index: SPECS/openvpn.spec
diff -u SPECS/openvpn.spec:1.97 SPECS/openvpn.spec:1.98
--- SPECS/openvpn.spec:1.97	Mon Oct  3 18:01:06 2005
+++ SPECS/openvpn.spec	Mon Oct  3 18:08:34 2005
@@ -64,8 +64,8 @@
 	--enable-iproute2
 %{__make}
 
-%{__make} -C plugin/auth-pam
-%{__make} -C plugin/down-root
+%{__make} -C plugin/auth-pam OPTFLAGS="%{rpmcflags}"
+%{__make} -C plugin/down-root OPTFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -123,6 +123,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.98  2005/10/03 16:08:34  glen
+- pass OPTFLAGS when compiling plugins
+
 Revision 1.97  2005/10/03 16:01:06  glen
 - created -devel package with openvpn-plugin.h header
 - compile and package auth-pam and down-root plugins
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/openvpn.spec?r1=1.97&r2=1.98&f=u




More information about the pld-cvs-commit mailing list