SPECS: busybox.spec - linked with uclibc works well on x8664, but ...

sparky sparky at pld-linux.org
Wed Jul 19 01:27:19 CEST 2006


Author: sparky                       Date: Tue Jul 18 23:27:19 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- linked with uclibc works well on x8664, but AFAIK requires last one
- dietlibc is not supported, there is no 'getmntent_r'
- there is no CFLAGS_EXTRA variable, use CROSS_CFLAGS

---- Files affected:
SPECS:
   busybox.spec (1.112 -> 1.113) 

---- Diffs:

================================================================
Index: SPECS/busybox.spec
diff -u SPECS/busybox.spec:1.112 SPECS/busybox.spec:1.113
--- SPECS/busybox.spec:1.112	Tue Jul 18 09:21:51 2006
+++ SPECS/busybox.spec	Wed Jul 19 01:27:12 2006
@@ -22,10 +22,10 @@
 #
 %bcond_without	static		# don't build static version
 %bcond_without	initrd		# don't build initrd version
-%bcond_with	dietlibc	# build dietlibc-based initrd version
+#%%bcond_with	dietlibc	# build dietlibc-based initrd version
 %bcond_with	glibc		# build glibc-based initrd version
 #
-%ifnarch %{ix86} ppc
+%ifnarch %{ix86} %{x8664} ppc
 %define with_glibc 1
 %endif
 %ifarch ppc
@@ -63,7 +63,7 @@
 		%if %{with glibc}
 BuildRequires:	glibc-static
 		%else
-%ifarch ppc
+%ifarch ppc %{x8664}
 BuildRequires:	uClibc-static >= 2:0.9.29
 %else
 BuildRequires:	uClibc-static >= 2:0.9.21
@@ -157,7 +157,7 @@
 install %{SOURCE2} .config
 %{__make} oldconfig
 %{__make} \
-	CFLAGS_EXTRA="%{rpmcflags} -D_BSD_SOURCE" \
+	CROSS_CFLAGS="%{rpmcflags} -Os -D_BSD_SOURCE" \
 	LDFLAGS="%{rpmldflags} -static" \
 %if %{with dietlibc}
 	LIBRARIES="-lrpc" \
@@ -251,6 +251,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.113  2006/07/18 23:27:12  sparky
+- linked with uclibc works well on x8664, but AFAIK requires last one
+- dietlibc is not supported, there is no 'getmntent_r'
+- there is no CFLAGS_EXTRA variable, use CROSS_CFLAGS
+
 Revision 1.112  2006/07/18 07:21:51  glen
 - typo, cosmetics
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/busybox.spec?r1=1.112&r2=1.113&f=u



More information about the pld-cvs-commit mailing list