summaryrefslogtreecommitdiff
path: root/scons
diff options
context:
space:
mode:
Diffstat (limited to 'scons')
-rw-r--r--scons/crossmingw.py1
-rw-r--r--scons/custom.py4
2 files changed, 4 insertions, 1 deletions
diff --git a/scons/crossmingw.py b/scons/crossmingw.py
index a4ae74e8d5..03bfbd7eb3 100644
--- a/scons/crossmingw.py
+++ b/scons/crossmingw.py
@@ -53,6 +53,7 @@ prefixes = SCons.Util.Split("""
i486-mingw32msvc-
i586-mingw32msvc-
i686-mingw32msvc-
+ i686-pc-mingw32-
""")
def find(env):
diff --git a/scons/custom.py b/scons/custom.py
index 572b963388..364da292dd 100644
--- a/scons/custom.py
+++ b/scons/custom.py
@@ -56,6 +56,7 @@ def quietCommandLines(env):
env['SHLINKCOMSTR'] = " Linking $TARGET ..."
env['LDMODULECOMSTR'] = " Linking $TARGET ..."
env['SWIGCOMSTR'] = " Generating $TARGET ..."
+ env['CODEGENCOMSTR'] = " Generating $TARGET ..."
def createConvenienceLibBuilder(env):
@@ -125,7 +126,8 @@ def code_generate(env, script, target, source, command):
# This command creates generated code *in the build directory*.
command = command.replace('$SCRIPT', script_src.path)
- code = env.Command(target, source, command)
+ action = SCons.Action.Action(command, "$CODEGENCOMSTR")
+ code = env.Command(target, source, action)
# Explicitly mark that the generated code depends on the generator,
# and on implicitly imported python modules