Mercurial > hg > openjdk > jdk6 > langtools
changeset 99:0e4ccb5a0d40
6962540: langtools Makefile sets DEV_NULL incorrectly
Reviewed-by: ohair
author | jjg |
---|---|
date | Fri, 18 Jun 2010 16:45:13 -0700 |
parents | 7d51140c7453 |
children | e7e6982abb38 |
files | make/Makefile |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/make/Makefile Fri Jun 18 11:13:26 2010 -0700 +++ b/make/Makefile Fri Jun 18 16:45:13 2010 -0700 @@ -40,15 +40,16 @@ SYSTEM_UNAME := $(shell uname) +# Where is unwanted output to be delivered? +# On Windows, MKS uses the special file "NUL", cygwin uses the customary unix file. ifeq ($(SYSTEM_UNAME), Windows_NT) DEV_NULL = NUL else +DEV_NULL = /dev/null +endif + ifneq (,$(findstring CYGWIN,$(SYSTEM_UNAME))) -DEV_NULL = NUL USING_CYGWIN = true -else -DEV_NULL = /dev/null -endif endif ifdef USING_CYGWIN