From 95f61a422fc95da4d37c0e895e4389732182f7aa Mon Sep 17 00:00:00 2001 From: sparky Date: Tue, 18 Jul 2006 23:27:12 +0000 Subject: [PATCH 1/1] - 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 Changed files: busybox.spec -> 1.113 --- busybox.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/busybox.spec b/busybox.spec index b296cae..9d92e3a 100644 --- a/busybox.spec +++ b/busybox.spec @@ -21,10 +21,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 @@ -62,7 +62,7 @@ BuildRequires: dietlibc-static %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 @@ -156,7 +156,7 @@ install %{SOURCE1} .config 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" \ -- 2.44.0