From 04e5405af16d827b910dbc6f16409ae105a84de7 Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Thu, 7 Feb 2002 21:44:08 +0000 Subject: [PATCH] further refine prev chng --- dtool/pptempl/compilerSettings.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dtool/pptempl/compilerSettings.pp b/dtool/pptempl/compilerSettings.pp index 42b58bdab8..17398dcb6c 100644 --- a/dtool/pptempl/compilerSettings.pp +++ b/dtool/pptempl/compilerSettings.pp @@ -52,7 +52,9 @@ #if $[DO_CROSSOBJ_OPT] #define OPT4FLAGS /GL #define LDFLAGS_OPT4 /LTCG - #define LIBBER $[LIBBER] /LTCG + #if $[>= $[OPTIMIZE],4] + #define LIBBER $[LIBBER] /LTCG + #endif #endif // remove 1-3 when allocator stuff is rewritten to build with VC7 STL