Disable optimization that doesn't apply to C
llvm-svn: 4264
This commit is contained in:
parent
5ae3bd630d
commit
cf388bb247
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue