patches/uClibc/0.9.30.1/140-gnu89-inline.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Aug 11 20:07:18 2010 +0200 (2010-08-11)
branch1.8
changeset 2092 18da1aa1beab
parent 1248 5402327d22fa
permissions -rw-r--r--
scripts: in case of failed download, remove partial files

It happens from time to time that the server mis-behaves, and breaks the
connection right in the middle of nowhere, for no good reason, leaving us
with a partial file, on which the extract pass would choke.

Remove partial downloads, to fail early.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from eefacabd9e72f3d578e5dc5908026ed780f9a240)
yann@1248
     1
Original patch from Gentoo.
yann@1248
     2
yann@1248
     3
-= BEGIN original header =-
yann@1248
     4
-= END original header =-
yann@1248
     5
yann@1248
     6
diff -durN uClibc-0.9.30.orig/Rules.mak uClibc-0.9.30/Rules.mak
yann@1248
     7
--- uClibc-0.9.30.orig/Rules.mak	2008-11-12 13:24:16.000000000 +0100
yann@1248
     8
+++ uClibc-0.9.30/Rules.mak	2009-02-07 09:57:59.000000000 +0100
yann@1279
     9
@@ -519,6 +519,7 @@
yann@1248
    10
 endif
yann@1248
    11
 
yann@1248
    12
 CFLAGS += $(call check_gcc,-std=gnu99,)
yann@1248
    13
+CFLAGS += $(call check_gcc,-fgnu89-inline,)
yann@1248
    14
 
yann@1248
    15
 LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -Wl,-shared \
yann@1248
    16
 	-Wl,--warn-common -Wl,--warn-once -Wl,-z,combreloc