From afb0d4c43cb9844542dab9f53e43ba53a2ac6921 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 31 Dec 2009 00:59:09 +0100 Subject: install stdio_lim.h via install-headers --- toolchain/glibc/Makefile | 1 - toolchain/glibc/patches/stdio_lim.patch | 31 +++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 toolchain/glibc/patches/stdio_lim.patch (limited to 'toolchain/glibc') diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile index 448d41606..2b3fc252f 100644 --- a/toolchain/glibc/Makefile +++ b/toolchain/glibc/Makefile @@ -62,7 +62,6 @@ $(WRKBUILD)/.headers: $(WRKBUILD)/.headers_configure install_root=$(TOOLCHAIN_SYSROOT) \ install-headers touch $(TOOLCHAIN_SYSROOT)/usr/include/gnu/stubs.h - touch $(TOOLCHAIN_SYSROOT)/usr/include/bits/stdio_lim.h touch $@ $(WRKBUILD)/.configured: diff --git a/toolchain/glibc/patches/stdio_lim.patch b/toolchain/glibc/patches/stdio_lim.patch new file mode 100644 index 000000000..41f8447dc --- /dev/null +++ b/toolchain/glibc/patches/stdio_lim.patch @@ -0,0 +1,31 @@ +diff -Nur glibc-2.11.orig/stdio-common/Makefile glibc-2.11/stdio-common/Makefile +--- glibc-2.11.orig/stdio-common/Makefile 2009-10-30 18:17:08.000000000 +0100 ++++ glibc-2.11/stdio-common/Makefile 2009-12-30 23:52:08.000000000 +0100 +@@ -21,7 +21,7 @@ + # + subdir := stdio-common + +-headers := stdio_ext.h printf.h bits/printf-ldbl.h ++headers := stdio_ext.h printf.h bits/printf-ldbl.h bits/stdio_lim.h + + routines := \ + ctermid cuserid \ +@@ -40,8 +40,6 @@ + isoc99_vsscanf \ + psiginfo + +-install-others = $(inst_includedir)/bits/stdio_lim.h +- + include ../Makeconfig + + aux := errlist siglist printf-parsemb printf-parsewc fxprintf +@@ -66,9 +64,6 @@ + + include ../Rules + +-$(inst_includedir)/bits/stdio_lim.h: $(common-objpfx)bits/stdio_lim.h $(+force) +- $(do-install) +- + ifeq ($(cross-compiling),no) + .PHONY: do-tst-unbputc do-tst-printf + tests: do-tst-unbputc do-tst-printf -- cgit v1.2.3