summaryrefslogtreecommitdiffstats
path: root/scons
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-02-12 12:59:58 +0000
committerJosé Fonseca <[email protected]>2009-02-12 12:59:58 +0000
commit6fe421cf4634033bc7e75375e1d981bd235e2e51 (patch)
tree89c07c2668b436c3439621dec91c2c901c15c363 /scons
parentb93d3057257c5ecbcd3861726d8d9bb5040529aa (diff)
scons: Unbreak mingw builds.
Diffstat (limited to 'scons')
-rw-r--r--scons/gallium.py2
-rw-r--r--scons/generic.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 3fbac760fdb..d20d02ca208 100644
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -438,7 +438,7 @@ def generate(env):
linkflags += ['-m32']
if env['machine'] == 'x86_64':
linkflags += ['-m64']
- if platform == 'windows':
+ if platform == 'windows' and msvc:
# See also:
# - http://msdn2.microsoft.com/en-us/library/y0zzbyt4.aspx
linkflags += [
diff --git a/scons/generic.py b/scons/generic.py
index 31a4a795940..7592222fd6a 100644
--- a/scons/generic.py
+++ b/scons/generic.py
@@ -517,7 +517,7 @@ def generate(env):
linkflags += ['-m32']
if env['machine'] == 'x86_64':
linkflags += ['-m64']
- if platform == 'windows':
+ if platform == 'windows' and msvc:
# See also:
# - http://msdn2.microsoft.com/en-us/library/y0zzbyt4.aspx
linkflags += [