Fri, 18 Jun 2010 16:45:13 -0700
6962540: langtools Makefile sets DEV_NULL incorrectly
Reviewed-by: ohair
make/Makefile | file | annotate | diff | comparison | revisions |
1.1 --- a/make/Makefile Wed Jun 16 17:52:10 2010 -0700 1.2 +++ b/make/Makefile Fri Jun 18 16:45:13 2010 -0700 1.3 @@ -40,15 +40,16 @@ 1.4 1.5 SYSTEM_UNAME := $(shell uname) 1.6 1.7 +# Where is unwanted output to be delivered? 1.8 +# On Windows, MKS uses the special file "NUL", cygwin uses the customary unix file. 1.9 ifeq ($(SYSTEM_UNAME), Windows_NT) 1.10 DEV_NULL = NUL 1.11 else 1.12 +DEV_NULL = /dev/null 1.13 +endif 1.14 + 1.15 ifneq (,$(findstring CYGWIN,$(SYSTEM_UNAME))) 1.16 -DEV_NULL = NUL 1.17 USING_CYGWIN = true 1.18 -else 1.19 -DEV_NULL = /dev/null 1.20 -endif 1.21 endif 1.22 1.23 ifdef USING_CYGWIN