packages: lvm2/lvm2.spec - builds with default bconds on ac!

glen glen at pld-linux.org
Fri Jul 30 14:23:07 CEST 2010


Author: glen                         Date: Fri Jul 30 12:23:07 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- builds with default bconds on ac!

---- Files affected:
packages/lvm2:
   lvm2.spec (1.156 -> 1.157) 

---- Diffs:

================================================================
Index: packages/lvm2/lvm2.spec
diff -u packages/lvm2/lvm2.spec:1.156 packages/lvm2/lvm2.spec:1.157
--- packages/lvm2/lvm2.spec:1.156	Fri Jul 30 13:23:19 2010
+++ packages/lvm2/lvm2.spec	Fri Jul 30 14:23:01 2010
@@ -242,9 +242,10 @@
 %{__autoconf}
 
 %if %{with initrd}
+CC="%{__cc}"
 %configure \
 	%{?with_uClibc:CC="%{_target_cpu}-uclibc-gcc"} \
-	%{?with_dietlibc:CC="diet %{__cc}"} \
+	%{?with_dietlibc:CC="diet ${CC#*ccache }"} \
 	ac_cv_lib_dl_dlopen=no \
 	%{?debug:--enable-debug} \
 	--with-optimisation="%{rpmcflags} -Os" \
@@ -257,6 +258,7 @@
 # and we need to keep these in sync between device-mapper and lvm2
 
 %{__sed} -i -e 's#rpl_malloc#malloc#g' lib/misc/configure.h
+%{__sed} -i -e 's#rpl_realloc#realloc#g' lib/misc/configure.h
 
 %{__make} -j1 -C include
 %{__make} -j1 -C lib LIB_SHARED= VERSIONED_SHLIB=
@@ -395,6 +397,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.157  2010/07/30 12:23:01  glen
+- builds with default bconds on ac!
+
 Revision 1.156  2010/07/30 11:23:19  glen
 - ccache hack fixed differently
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lvm2/lvm2.spec?r1=1.156&r2=1.157&f=u



More information about the pld-cvs-commit mailing list