From 3276c3d42b64b4feffe9293bbc63e161b1e522d7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Thu, 3 Nov 2011 09:38:43 +0000 Subject: [PATCH] libgl-gdi: Mingw-w64 in 32bit mode matches the Mingw32's .DEF semantics. --- src/gallium/targets/libgl-gdi/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] -- 2.30.2