changeset 48:49efd83dd6b5 jdk6-b20

6960333: Add make level ALLOW_DOWNLOADS=true option Reviewed-by: darcy, jjg
author ohair
date Thu, 10 Jun 2010 14:32:58 -0700
parents 9089ab6753d9
children 8890516b8822
files make/Makefile
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/Makefile	Wed Jun 09 15:21:52 2010 -0700
+++ b/make/Makefile	Thu Jun 10 14:32:58 2010 -0700
@@ -65,6 +65,11 @@
   endif
 endif 
 
+# If downloads are allowed
+ifeq ($(ALLOW_DOWNLOADS),true)
+  ANT_OPTIONS += -Dallow.downloads=true
+endif
+
 # Figure out the platform we are using
 _SYSTEM_UNAME := $(shell uname)
 _PLATFORM_KIND = unix