From f924b2de08d21a6354ef3c91f56bcb5f69ba2051 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 22 Oct 2002 23:35:28 +0000 Subject: [PATCH] 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 --- Makefile.common | 2 +- Makefile.rules | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.common b/Makefile.common index e3599bb9d0c..7518f7ff6e9 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) diff --git a/Makefile.rules b/Makefile.rules index e3599bb9d0c..7518f7ff6e9 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -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) -- 2.34.1