summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-11-03 09:38:43 +0000
committerJosé Fonseca <[email protected]>2011-11-03 09:59:34 +0000
commit3276c3d42b64b4feffe9293bbc63e161b1e522d7 (patch)
tree075f3da7a680e826aa0985a5738c13b2cb1a2cfc
parenta56951139a5e3a406c1d924aa5c077a1eb5d124e (diff)
libgl-gdi: Mingw-w64 in 32bit mode matches the Mingw32's .DEF semantics.
-rw-r--r--src/gallium/targets/libgl-gdi/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/libgl-gdi/SConscript b/src/gallium/targets/libgl-gdi/SConscript
index f6c8e8de78e..f8393dac299 100644
--- a/src/gallium/targets/libgl-gdi/SConscript
+++ b/src/gallium/targets/libgl-gdi/SConscript
@@ -27,7 +27,7 @@ if env['llvm']:
env.Append(CPPDEFINES = 'HAVE_LLVMPIPE')
drivers += [llvmpipe]
-if env['gcc'] and 'w64' not in env['CC'].split('-'):
+if env['gcc'] and env['machine'] != 'x86_64':
# DEF parser in certain versions of MinGW is busted, as does not behave as
# MSVC. mingw-w64 works fine.
sources += ['#src/gallium/state_trackers/wgl/opengl32.mingw.def']