SPECS: env-update.spec - pass CFLAGS (fixed Makefile)

twittner twittner at pld-linux.org
Sat Mar 25 17:58:51 CET 2006


Author: twittner                     Date: Sat Mar 25 16:58:51 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pass CFLAGS (fixed Makefile)

---- Files affected:
SPECS:
   env-update.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/env-update.spec
diff -u SPECS/env-update.spec:1.1 SPECS/env-update.spec:1.2
--- SPECS/env-update.spec:1.1	Fri Mar 24 23:53:44 2006
+++ SPECS/env-update.spec	Sat Mar 25 17:58:46 2006
@@ -8,6 +8,7 @@
 Source0:	http://distfiles.gentoo.org/distfiles/rc-scripts-%{version}.tar.bz2
 # Source0-md5:	3ef9ae479847d474c33d7d54f4912e77
 Patch0:		%{name}.patch
+Patch1:		%{name}-cflags.patch
 BuildRequires:	gawk-devel
 Requires:	gawk
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -22,11 +23,13 @@
 %prep
 %setup -q -n rc-scripts-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__make} -C src/filefuncs \
 	CC="%{__cc}" \
-	LD="%{__ld}"
+	CFLAGS="%{rpmcflags}" \
+	LD="%{__ld}" 
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -50,6 +53,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/03/25 16:58:46  twittner
+- pass CFLAGS (fixed Makefile)
+
 Revision 1.1  2006/03/24 22:53:44  glen
 - port to pld
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/env-update.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list