]> git.pld-linux.org Git - packages/busybox.git/commitdiff
- linked with uclibc works well on x8664, but AFAIK requires last one
authorsparky <sparky@pld-linux.org>
Tue, 18 Jul 2006 23:27:12 +0000 (23:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- 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

index b296cae4a03dc85647ecb57f4ae0a0a06b6f14a5..9d92e3af58ef99114c43597db6f7ae4a31582433 100644 (file)
 #
 %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" \
This page took 2.800233 seconds and 4 git commands to generate.