Remove bizarre use of /dev/null in a makefile include line that
authorReid Spencer <rspencer@reidspencer.com>
Mon, 23 Jul 2007 08:09:15 +0000 (08:09 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 23 Jul 2007 08:09:15 +0000 (08:09 +0000)
produces warning from make about bad timestamp on /dev/null

Patch by Holger Schurig.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40426 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index 2852ac38bfc888a30464c4adc71407444eb1e70f..4f1ceb7960583725522d1438d4f7510514c0dbd4 100644 (file)
@@ -391,7 +391,7 @@ endif
 ifndef VERBOSE
   Verb := @
   LibTool.Flags += --silent
-  AR.Flags += >/dev/null 2>/dev/null
+  AR.Flags += ">/dev/null 2>/dev/null"
   ConfigureScriptFLAGS += >$(PROJ_OBJ_DIR)/configure.out 2>&1
 else
   ConfigureScriptFLAGS := 
@@ -1471,7 +1471,7 @@ ifneq ($(strip $(filter-out clean clean-local dist-clean,$(MAKECMDGOALS)))),)
 DependFiles := $(basename $(filter %.cpp %.c %.cc, $(Sources)))
 DependFiles := $(DependFiles:%=$(PROJ_OBJ_DIR)/$(BuildMode)/%.d)
 
--include /dev/null $(DependFiles)
+-include $(DependFiles)
 
 endif