From 169698095dcdd09d9e9fd27d9a788477ee182b4d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 10 Nov 2011 21:12:28 +0000 Subject: [PATCH] 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144317 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.rules b/Makefile.rules index 78d1f97e146..6b68cf2c6b8 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -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 -- 2.34.1