[Commits] r6872 - trunk/paranoia-III

pjones at dactyl.lonelymoon.com pjones
Fri Jun 25 12:30:09 PDT 2004


Author: pjones
Date: Fri Jun 25 12:30:09 2004
New Revision: 6872

Modified:
trunk/paranoia-III/cdparanoia.spec
Log:
Use the distribution's CFLAGS if we've got them.


Modified: trunk/paranoia-III/cdparanoia.spec
===================================================================
--- trunk/paranoia-III/cdparanoia.spec	2004-06-25 19:22:08 UTC (rev 6871)
+++ trunk/paranoia-III/cdparanoia.spec	2004-06-25 19:30:05 UTC (rev 6872)
@@ -45,8 +45,9 @@

%build
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
+export OPT="${CFLAGS:-%optflags}"
%configure --includedir=%{_includedir}/cdda
-make
+make OPT="$OPT"

%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT



More information about the commits mailing list