From: José Fonseca Date: Thu, 3 Nov 2011 09:38:43 +0000 (+0000) Subject: libgl-gdi: Mingw-w64 in 32bit mode matches the Mingw32's .DEF semantics. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3276c3d42b64b4feffe9293bbc63e161b1e522d7;p=mesa.git libgl-gdi: Mingw-w64 in 32bit mode matches the Mingw32's .DEF semantics. --- 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']