Add an option to forbid downloads.
Idea and code-base from Don Elwell <don@manifoldlabs.com>, adapted by me.
/trunk/scripts/functions | 6 6 0 0 ++++++
/trunk/config/global/download.in | 18 18 0 0 ++++++++++++++++++
2 files changed, 24 insertions(+)
1 diff -durN glibc-2.7.orig/Makerules glibc-2.7/Makerules
2 --- glibc-2.7.orig/Makerules 2007-08-26 04:18:03.000000000 +0200
3 +++ glibc-2.7/Makerules 2008-07-28 15:17:27.000000000 +0200
5 # The include magic above causes those files to use this variable for flags.
6 CPPFLAGS-nonlib = -DNOT_IN_libc=1
8 +ifneq ($(OBJDUMP_FOR_HOST),)
9 +OBJDUMP = $(OBJDUMP_FOR_HOST)
12 ifeq ($(versioning),yes)
13 # Generate normalized lists of symbols, versions, and data sizes.