SPECS: udev.spec - need USE_KLIBC=true for klibc build otherwise i...

glen glen at pld-linux.org
Fri Oct 14 17:39:58 CEST 2005


Author: glen                         Date: Fri Oct 14 15:39:58 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- need USE_KLIBC=true for klibc build otherwise incompatible CFLAGS are passed in Makefile
- fix make clean

---- Files affected:
SPECS:
   udev.spec (1.102 -> 1.103) 

---- Diffs:

================================================================
Index: SPECS/udev.spec
diff -u SPECS/udev.spec:1.102 SPECS/udev.spec:1.103
--- SPECS/udev.spec:1.102	Fri Oct 14 17:23:40 2005
+++ SPECS/udev.spec	Fri Oct 14 17:39:53 2005
@@ -98,17 +98,17 @@
 	%{?with_dietlibc:LD="%{_target_cpu}-dietlibc-gcc %{rpmldflags} -static"} \
 	%{?with_glibc:CC="%{_target_cpu}-pld-linux-gcc"} \
 	%{?with_glibc:LD="%{_target_cpu}-pld-linux-gcc %{rpmldflags} -static"} \
-	%{?with_klibc:CC="klcc"} \
+	%{?with_klibc:KLCC=%{_bindir}/klcc CC="klcc"} \
 	%{?with_klibc:LD="klcc %{rpmldflags} -static"} \
 	DEBUG=%{!?debug:false}%{?debug:true} \
 	OPTIMIZATION="%{rpmcflags}" \
-	USE_KLIBC=false \
+	USE_KLIBC=%{!?with_klibc:false}%{?with_klibc:true} \
 	USE_LOG=true \
 	USE_SELINUX=false \
 	EXTRAS=""
 
 cp -a udev initrd-udev
-%if %{without main}
+%if %{with main}
 %{__make} clean
 %endif
 %endif
@@ -235,6 +235,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.103  2005/10/14 15:39:53  glen
+- need USE_KLIBC=true for klibc build otherwise incompatible CFLAGS are passed in Makefile
+- fix make clean
+
 Revision 1.102  2005/10/14 15:23:40  glen
 - dietlibc bcond rename
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/udev.spec?r1=1.102&r2=1.103&f=u




More information about the pld-cvs-commit mailing list