6962540: langtools Makefile sets DEV_NULL incorrectly

Fri, 18 Jun 2010 16:45:13 -0700

author
jjg
date
Fri, 18 Jun 2010 16:45:13 -0700
changeset 588
0ba1f80b73a5
parent 587
e2b845fdc437
child 589
4177f5bdd189

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

mercurial