[llvm-commits] [llvm] r144317 - /llvm/trunk/Makefile.rules

Chris Lattner sabre at nondot.org
Thu Nov 10 13:12:28 PST 2011


Author: lattner
Date: Thu Nov 10 15:12:28 2011
New Revision: 144317

URL: http://llvm.org/viewvc/llvm-project?rev=144317&view=rev
Log:
Remove a really ancient line from the default 'make clean' rule that attempts
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.


Modified:
    llvm/trunk/Makefile.rules

Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=144317&r1=144316&r2=144317&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Thu Nov 10 15:12:28 2011
@@ -301,6 +301,9 @@
   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 @@
 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





More information about the llvm-commits mailing list