aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-08 04:34:51 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-08 04:34:51 +0000
commit519799e3402b83701ba14b19c73ee4c4b617e13b (patch)
tree39181c06bf27b144ae438676fe03c798698183ff
parent2e2035b35b15423622e8bb60ef4c0172fa4571ea (diff)
downloadexternal_llvm-519799e3402b83701ba14b19c73ee4c4b617e13b.zip
external_llvm-519799e3402b83701ba14b19c73ee4c4b617e13b.tar.gz
external_llvm-519799e3402b83701ba14b19c73ee4c4b617e13b.tar.bz2
Remove -Woverloaded-virtual usage that was committed by accident.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18615 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Makefile.rules9
1 files changed, 3 insertions, 6 deletions
diff --git a/Makefile.rules b/Makefile.rules
index f5cfb0a..9abc4af 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -146,24 +146,21 @@ install-bytecode:: install-bytecode-local
# Variables derived from configuration we are building
#--------------------------------------------------------------------
-CommonCXXOpts := -Woverloaded-virtual
-
ifdef ENABLE_PROFILING
BuildMode := Profile
- CXX.Flags := -O3 -DNDEBUG $(CommonCXXOpts) -felide-constructors \
- -finline-functions -pg
+ CXX.Flags := -O3 -DNDEBUG -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 $(CommonCXXOpts) -finline-functions \
+ CXX.Flags := -O3 -DNDEBUG -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 $(CommonCXXOpts)
+ CXX.Flags := -g -D_DEBUG
C.Flags := -g -D_DEBUG
LD.Flags := -g -D_DEBUG
KEEP_SYMBOLS := 1