]> git.pld-linux.org Git - packages/iproute2.git/commitdiff
- uClibc finished.
authorPaweł Sikora <pluto@pld-linux.org>
Sun, 30 May 2004 16:07:50 +0000 (16:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    iproute2.spec -> 1.113

iproute2.spec

index 335609de62f8cc8ed5548c096644ac8042f44221..fdde9520ace42a424aadd6ae232706a1d8085fc9 100644 (file)
@@ -1,7 +1,4 @@
 #
-# TODO:
-#      - build @ uClibc
-#
 # Conditional build
 %bcond_without doc             # don't build documentation
 %bcond_without tc              # don't build tc program (it breaks static linkage)
@@ -30,8 +27,6 @@ Patch2:               %{name}-diffserv-config.patch
 Patch3:                %{name}-netlink.patch
 Patch4:                %{name}-ipaddress.patch
 Patch5:                %{name}-iprule.patch
-# uClibc hacks
-Patch6:                %{name}-uClibc.patch
 # extensions
 Patch10:       %{name}-htb3.6_tc.patch
 Patch11:       %{name}-2.2.4-wrr.patch
@@ -97,7 +92,7 @@ rm -rf include-glibc
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
-%{?with_uClibc:%patch6 -p1}
+
 %patch10 -p1
 %patch11 -p1
 %patch12 -p1
@@ -106,7 +101,7 @@ rm -rf include-glibc
 
 %build
 %{__make} \
-       CC="%{__cc}" \
+       %{?with_uClibc:CC="%{_target_cpu}-uclibc-gcc"}%{!?with_uClibc:CC="%{__cc}"} \
        OPT="%{rpmcflags}" \
        %{!?with_tc:SUBDIRS="lib ip misc" LDFLAGS="%{rpmldflags}"}
 
This page took 0.207745 seconds and 4 git commands to generate.