SPECS: klibc.spec - crossbuild enabled, license updated.

pluto pluto at pld-linux.org
Mon Jun 13 17:33:55 CEST 2005


Author: pluto                        Date: Mon Jun 13 15:33:55 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- crossbuild enabled, license updated.

---- Files affected:
SPECS:
   klibc.spec (1.30 -> 1.31) 

---- Diffs:

================================================================
Index: SPECS/klibc.spec
diff -u SPECS/klibc.spec:1.30 SPECS/klibc.spec:1.31
--- SPECS/klibc.spec:1.30	Mon Jun 13 16:46:29 2005
+++ SPECS/klibc.spec	Mon Jun 13 17:33:50 2005
@@ -8,7 +8,7 @@
 Name:		klibc
 Version:	1.0
 Release:	0.1
-License:	BSD
+License:	BSD/GPL
 Group:		Libraries
 Source0:	http://www.kernel.org/pub/linux/libs/klibc/%{name}-%{version}.tar.bz2
 # Source0-md5:	daaa233fb7905cbe110896fcad9bec7f
@@ -71,7 +71,12 @@
 ln -sf %{_kernelsrcdir}/include/linux/autoconf-up.h include/linux/autoconf.h
 
 %{__make} \
+%if "%{_target_base_arch}" != "%{_arch}"
+	ARCH=%{_target_base_arch} \
+	CROSS=%{_target_base_arch}-pld-linux- \
+%else
 	CC=%{__cc} \
+%endif
 	OPTFLAGS="%{rpmcflags} -Os -fomit-frame-pointer -falign-functions=0 \
 		-falign-jumps=0 -falign-loops=0 -ffreestanding"
 
@@ -115,6 +120,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.31  2005/06/13 15:33:50  pluto
+- crossbuild enabled, license updated.
+
 Revision 1.30  2005/06/13 14:46:29  pluto
 - updated to 1.0, nfy (needs !ix86 buildtests).
 - klcc wrapper packaged.
================================================================

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




More information about the pld-cvs-commit mailing list