SPECS: klibc.spec - klcc wrapper fixed (static and shared build wo...

pluto pluto at pld-linux.org
Mon Jun 13 21:13:18 CEST 2005


Author: pluto                        Date: Mon Jun 13 19:13:18 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- klcc wrapper fixed (static and shared build works fine now).

---- Files affected:
SPECS:
   klibc.spec (1.33 -> 1.34) 

---- Diffs:

================================================================
Index: SPECS/klibc.spec
diff -u SPECS/klibc.spec:1.33 SPECS/klibc.spec:1.34
--- SPECS/klibc.spec:1.33	Mon Jun 13 18:20:39 2005
+++ SPECS/klibc.spec	Mon Jun 13 21:13:11 2005
@@ -13,6 +13,7 @@
 Source0:	http://www.kernel.org/pub/linux/libs/klibc/%{name}-%{version}.tar.bz2
 # Source0-md5:	daaa233fb7905cbe110896fcad9bec7f
 Patch0:		%{name}-ksh-quotation.patch
+Patch1:		%{name}-klcc.patch
 URL:		http://www.zytor.com/mailman/listinfo/klibc/
 %{?with_dist_kernel:BuildRequires:	kernel-headers >= 2.4}
 BuildRequires:	rpmbuild(macros) >= 1.153
@@ -60,6 +61,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 rm -rf include/{asm,asm-generic,linux}
@@ -75,6 +77,10 @@
 %else
 	CC=%{__cc} \
 %endif
+	bindir=%{_bindir} \
+	includedir=%{_includedir}/klibc \
+	libdir=%{_libdir}/klibc \
+	prefix=%{_prefix} \
 	OPTFLAGS="%{rpmcflags} -Os -fomit-frame-pointer -falign-functions=0 \
 		-falign-jumps=0 -falign-loops=0 -ffreestanding"
 
@@ -86,7 +92,7 @@
 cp -a include/* $RPM_BUILD_ROOT%{_includedir}/klibc
 install klcc -D $RPM_BUILD_ROOT%{_bindir}/klcc
 install klcc.1 -D $RPM_BUILD_ROOT%{_mandir}/man1/klcc.1
-install klibc/libc.* klibc/crt0.o $RPM_BUILD_ROOT%{_libdir}/klibc
+install klibc/libc.* klibc/crt0.o klibc/interp.o $RPM_BUILD_ROOT%{_libdir}/klibc
 install utils/shared/* $RPM_BUILD_ROOT%{_libdir}/klibc/bin-shared
 install utils/static/* $RPM_BUILD_ROOT%{_libdir}/klibc/bin-static
 
@@ -118,6 +124,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.34  2005/06/13 19:13:11  pluto
+- klcc wrapper fixed (static and shared build works fine now).
+
 Revision 1.33  2005/06/13 16:20:39  pluto
 - release 1.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/klibc.spec?r1=1.33&r2=1.34&f=u




More information about the pld-cvs-commit mailing list