From 232bfbbf8dac4cefcfcc5419962bdd4427f63f5c Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Mon, 6 Nov 2006 08:21:53 +0000 Subject: * compiler command-line fix for scons/win32-mingw --- source/gameengine/GamePlayer/common/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/gameengine/GamePlayer/common/SConscript') diff --git a/source/gameengine/GamePlayer/common/SConscript b/source/gameengine/GamePlayer/common/SConscript index d12d3131ae5..944fcea3a51 100644 --- a/source/gameengine/GamePlayer/common/SConscript +++ b/source/gameengine/GamePlayer/common/SConscript @@ -66,7 +66,7 @@ incs += Split(env['BF_PNG_INC']) incs += Split(env['BF_ZLIB_INC']) cflags=[] -if (sys.platform=='win32') & ( Environment().subst('$CC') != 'gcc'): +if env['OURPLATFORM']=='win32-vc': cflags = ['/GR'] env.BlenderLib (libname='gp_common', sources=source_files, includes=incs, defines = [], libtype='player', priority=5, compileflags=cflags) -- cgit v1.2.3