diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2006-11-06 11:21:53 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2006-11-06 11:21:53 +0300 |
commit | 232bfbbf8dac4cefcfcc5419962bdd4427f63f5c (patch) | |
tree | 1bf05319df79cd8cdef40cfb3720dad1d88026d9 /source/gameengine/GamePlayer | |
parent | 8e97a2955b2f99ec61189cb972c09676a013a60b (diff) |
* compiler command-line fix for scons/win32-mingw
Diffstat (limited to 'source/gameengine/GamePlayer')
-rw-r--r-- | source/gameengine/GamePlayer/common/SConscript | 2 | ||||
-rw-r--r-- | source/gameengine/GamePlayer/ghost/SConscript | 2 |
2 files changed, 2 insertions, 2 deletions
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) diff --git a/source/gameengine/GamePlayer/ghost/SConscript b/source/gameengine/GamePlayer/ghost/SConscript index 3e663bc09d6..f76e926e6d4 100644 --- a/source/gameengine/GamePlayer/ghost/SConscript +++ b/source/gameengine/GamePlayer/ghost/SConscript @@ -43,7 +43,7 @@ incs = ['.', incs += Split(env['BF_PYTHON_INC']) incs += Split(env['BF_SOLID_INC']) cflags = [] -if (sys.platform=='win32') & ( Environment().subst('$CC') != 'gcc'): +if env['OURPLATFORM']=='win32-vc': cflags = ['/GR'] env.BlenderLib (libname='gp_ghost', sources=source_files, includes = incs, defines = [], libtype='player',priority=0, compileflags=cflags) |