packages: lvm2/lvm2.spec - export CC for initrd's configure/make time but i...
pluto
pluto at pld-linux.org
Sat Nov 6 12:44:52 CET 2010
Author: pluto Date: Sat Nov 6 11:44:52 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- export CC for initrd's configure/make time but it linking still fails
on LVM2.2.02.75/tools/dmsetup.c:2969: undefined reference to `canonicalize_file_name'
---- Files affected:
packages/lvm2:
lvm2.spec (1.165 -> 1.166)
---- Diffs:
================================================================
Index: packages/lvm2/lvm2.spec
diff -u packages/lvm2/lvm2.spec:1.165 packages/lvm2/lvm2.spec:1.166
--- packages/lvm2/lvm2.spec:1.165 Sat Nov 6 11:26:29 2010
+++ packages/lvm2/lvm2.spec Sat Nov 6 12:44:47 2010
@@ -258,10 +258,11 @@
%{__autoconf}
%if %{with initrd}
-CC="%{__cc}"
+%{?with_glibc:export CC="%{__cc}"}
+%{?with_uClibc:export CC="%{_target_cpu}-uclibc-gcc"}
+%{?with_dietlibc:export CC="diet %{__cc}"}
+
%configure \
- %{?with_uClibc:CC="%{_target_cpu}-uclibc-gcc"} \
- %{?with_dietlibc:CC="diet ${CC#*ccache }"} \
ac_cv_lib_dl_dlopen=no \
%{?debug:--enable-debug} \
--with-optimisation="%{rpmcflags} -Os" \
@@ -285,6 +286,8 @@
mv -f tools/dmsetup.static initrd-dmsetup
%{?with_dietlibc:mv -f libdm/ioctl/libdevmapper.a diet-libdevmapper.a}
%{__make} clean
+
+unset CC
%endif
%configure \
@@ -414,9 +417,13 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.166 2010/11/06 11:44:47 pluto
+- export CC for initrd's configure/make time but it linking still fails
+ on LVM2.2.02.75/tools/dmsetup.c:2969: undefined reference to `canonicalize_file_name'
+
Revision 1.165 2010/11/06 10:26:29 pluto
- fix one linking issue...
- now uClibc/glibc builds fails on unresolved symbols checking:
+ now uClibc/glibc build fails on unresolved symbols checking:
.../lib64/libdevmapper-event-lvm2.so.2.02
dmeventd_debug
while dietlibc build fails on lack of -lcompat.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lvm2/lvm2.spec?r1=1.165&r2=1.166&f=u
More information about the pld-cvs-commit
mailing list