SPECS: minised.spec - pass CC and CFLAGS

darekr darekr at pld-linux.org
Thu Nov 15 23:06:54 CET 2007


Author: darekr                       Date: Thu Nov 15 22:06:54 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pass CC and CFLAGS

---- Files affected:
SPECS:
   minised.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/minised.spec
diff -u SPECS/minised.spec:1.7 SPECS/minised.spec:1.8
--- SPECS/minised.spec:1.7	Wed Mar 28 21:06:21 2007
+++ SPECS/minised.spec	Thu Nov 15 23:06:49 2007
@@ -1,5 +1,4 @@
 # $Revision$, $Date$
-# TODO: optflags
 Summary:	minised - a smaller, cheaper, faster sed implementation
 Summary(pl.UTF-8):	minised - mniejsza, tańsza, szybsza implementacja seda
 Name:		minised
@@ -24,11 +23,14 @@
 %setup -q
 
 %build
-%{__make}
+%{__make} \
+	CC="%{__cc}" \
+	LFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{,%{_bindir},%{_mandir}/man1}
+
 install minised $RPM_BUILD_ROOT%{_bindir}
 install minised.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
@@ -47,7 +49,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.7  2007-03-28 19:06:21  piotrek
+Revision 1.8  2007-11-15 22:06:49  darekr
+- pass CC and CFLAGS
+
+Revision 1.7  2007/03/28 19:06:21  piotrek
 - new URL
 
 Revision 1.6  2007/03/20 10:12:47  undefine
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/minised.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list