summaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-22 23:35:28 +0000
committerChris Lattner <sabre@nondot.org>2002-10-22 23:35:28 +0000
commitf924b2de08d21a6354ef3c91f56bcb5f69ba2051 (patch)
treead4af18203946d7afad6a27823d9612917ad0b31 /Makefile.common
parent0ceeb42c9701d995267a04899b3a6acfceb8fb9e (diff)
downloadllvm-f924b2de08d21a6354ef3c91f56bcb5f69ba2051.tar.gz
llvm-f924b2de08d21a6354ef3c91f56bcb5f69ba2051.tar.bz2
llvm-f924b2de08d21a6354ef3c91f56bcb5f69ba2051.tar.xz
Disable optimization that doesn't apply to C
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4264 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common
index e3599bb9d0..7518f7ff6e 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -163,7 +163,7 @@ CompileP := $(CompileO) $(PROFILE)
# Compile a c file, don't link...
CompileC := $(CC) -c $(CPPFLAGS) $(CCFLAGS) $(CompileCommonOpts)
CompileCG := $(CompileC) -g -D_DEBUG
-CompileCO := $(CompileC) -O3 -DNDEBUG -finline-functions -felide-constructors -fshort-enums ## DISABLE -freg-struct-return because of gcc3.2 bug
+CompileCO := $(CompileC) -O3 -DNDEBUG -finline-functions -fshort-enums ## DISABLE -freg-struct-return because of gcc3.2 bug
CompileCP := $(CompileCO) $(PROFILE)