[llvm-commits] CVS: llvm/Makefile.rules
Reid Spencer
reid at x10sys.com
Tue Dec 7 20:26:35 PST 2004
Changes in directory llvm:
Makefile.rules updated: 1.253 -> 1.254
---
Log message:
Remove variables that are not used by any of the LLVM makefiles
---
Diffs of the changes: (+7 -7)
Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.253 llvm/Makefile.rules:1.254
--- llvm/Makefile.rules:1.253 Sun Dec 5 23:35:13 2004
+++ llvm/Makefile.rules Tue Dec 7 22:26:23 2004
@@ -146,20 +146,24 @@
# Variables derived from configuration we are building
#--------------------------------------------------------------------
+CommonCXXOpts := -Woverloaded-virtual
+
ifdef ENABLE_PROFILING
BuildMode := Profile
- CXX.Flags := -O3 -DNDEBUG -felide-constructors -finline-functions -pg
+ CXX.Flags := -O3 -DNDEBUG $(CommonCXXOpts) -felide-constructors \
+ -finline-functions -pg
C.Flags := -O3 -DNDEBUG -pg
LD.Flags := -O3 -DNDEBUG -pg
else
ifdef ENABLE_OPTIMIZED
BuildMode := Release
- CXX.Flags := -O3 -DNDEBUG -finline-functions -felide-constructors -fomit-frame-pointer
+ CXX.Flags := -O3 -DNDEBUG $(CommonCXXOpts) -finline-functions \
+ -felide-constructors -fomit-frame-pointer
C.Flags := -O3 -DNDEBUG -fomit-frame-pointer
LD.Flags := -O3 -DNDEBUG
else
BuildMode := Debug
- CXX.Flags := -g -D_DEBUG
+ CXX.Flags := -g -D_DEBUG $(CommonCXXOpts)
C.Flags := -g -D_DEBUG
LD.Flags := -g -D_DEBUG
KEEP_SYMBOLS := 1
@@ -214,10 +218,6 @@
LLVMGXX := PATH=$(LLVMToolDir):$(PATH) $(LLVMGCCDIR)/bin/g++
endif
-# Need a better way to compute this.
-LLVMGCCLibDir := $(dir $(shell $(LLVMGCC) -print-file-name=libgcc.a))/
-LLVMGCCStdCXXLibDir := $(dir $(shell $(LLVMGCC) -print-file-name=libstdc++.a))/
-
#--------------------------------------------------------------------
# Adjust to user's request
#--------------------------------------------------------------------
More information about the llvm-commits
mailing list