Remove a really ancient line from the default 'make clean' rule that attempts
authorChris Lattner <sabre@nondot.org>
Thu, 10 Nov 2011 21:12:28 +0000 (21:12 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 10 Nov 2011 21:12:28 +0000 (21:12 +0000)
to delete core files.  This causes a warning in clang/lib/StaticAnalyzer on
case insensitive filesystems, since it contains a "Core" directory.  Since this
is pointless anyway, just zap it.

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

Makefile.rules

index 78d1f97e146bb91fdfa94e8f7bb567156fbb718c..6b68cf2c6b862641a10bd417244cf0912742a90e 100644 (file)
@@ -301,6 +301,9 @@ else
   endif
 endif
 
+#CXX.Flags +=  -stdlib=libc++
+#LD.Flags +=  -stdlib=libc++
+
 ifeq ($(ENABLE_PROFILING),1)
   BuildMode := $(BuildMode)+Profile
   CXX.Flags := $(filter-out -fomit-frame-pointer,$(CXX.Flags)) -pg -g
@@ -1882,7 +1885,6 @@ clean-local::
 ifneq ($(strip $(ObjRootDir)),)
        -$(Verb) $(RM) -rf $(ObjRootDir)
 endif
-       -$(Verb) $(RM) -f core core.[0-9][0-9]* *.o *.d *~ *.flc
 ifneq ($(strip $(SHLIBEXT)),) # Extra paranoia - make real sure SHLIBEXT is set
        -$(Verb) $(RM) -f *$(SHLIBEXT)
 endif