summaryrefslogtreecommitdiff
path: root/patches/uClibc/0.9.28.3/002-no_LFS-no_readahead.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-03-04 12:33:12 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-03-04 12:33:12 (GMT)
commit56f56ed8bfbd835facce660d14809b72335f7f6e (patch)
tree903dd0dfd415cecc62bc7e11c2ace69a9ffca847 /patches/uClibc/0.9.28.3/002-no_LFS-no_readahead.patch
parent2884f2cf16094003fb8c3635d2226d26c131f8e8 (diff)
Argh! I forgot to commit the uClibc-0.9.28.3 patches...
Diffstat (limited to 'patches/uClibc/0.9.28.3/002-no_LFS-no_readahead.patch')
-rw-r--r--patches/uClibc/0.9.28.3/002-no_LFS-no_readahead.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/uClibc/0.9.28.3/002-no_LFS-no_readahead.patch b/patches/uClibc/0.9.28.3/002-no_LFS-no_readahead.patch
new file mode 100644
index 0000000..ca0568c
--- /dev/null
+++ b/patches/uClibc/0.9.28.3/002-no_LFS-no_readahead.patch
@@ -0,0 +1,14 @@
+diff -dur uClibc-0.9.28.1.orig/libc/sysdeps/linux/common/Makefile uClibc-0.9.28.1/libc/sysdeps/linux/common/Makefile
+--- uClibc-0.9.28.1.orig/libc/sysdeps/linux/common/Makefile 2007-01-26 00:54:19.000000000 +0100
++++ uClibc-0.9.28.1/libc/sysdeps/linux/common/Makefile 2007-02-01 08:44:37.000000000 +0100
+@@ -25,6 +25,10 @@
+ SRCS := $(filter-out sbrk.c,$(SRCS))
+ endif
+
++ifneq ($(strip $(UCLIBC_HAS_LFS)),y)
++SRCS := $(filter-out readahead.c,$(SRCS))
++endif
++
+ ifneq ($(strip $(UCLIBC_HAS_SSP)),y)
+ SRCS := $(filter-out ssp.c,$(SRCS))
+ endif