Gary Oberbrunner  committed 6139e07 Merge
  • Participants
  • Parent commits 8384465, 892cd04

Comments (0)

Files changed (4)

File src/CHANGES.txt

   From Dirk Baechle:
     - Update XML doc editor configuration
+    - Fix: Allow varlist to be specified as list of strings for Actions (#2754)
   From Rob Managan:
     - Updated the TeX builder to support use of the -synctex=1

File src/engine/SCons/

                 'You must either pass a string or a callback which '
                 'accepts (target, source, env) as parameters.')
         if len(args) > 1:
-            kw['varlist'] = args[1:] + kw['varlist']
+            kw['varlist'] = tuple(SCons.Util.flatten(args[1:])) + kw['varlist']
     if kw.get('strfunction', _null) is not _null \
                       and kw.get('cmdstr', _null) is not _null:
         raise SCons.Errors.UserError(

File src/engine/SCons/

     a = call_action((cmd, cmdstrfunc, 'a', 'b', 'c'))
     assert a.varlist == ('a', 'b', 'c'), a.varlist
+    a = call_action((cmd, cmdstrfunc, ['a', 'b', 'c']))
+    assert a.varlist == ('a', 'b', 'c'), a.varlist
     kw['varlist'] = 'foo'
     a = call_action((cmd, cmdstrfunc))
     assert a.varlist == ('foo',), a.varlist

File src/engine/SCons/Tool/

     xlc = env.get('CXX', 'xlC')
     return SCons.Platform.aix.get_xlc(env, xlc, packages)
-def smart_cxxflags(source, target, env, for_signature):
-    build_dir = env.GetBuildPath()
-    if build_dir:
-        return '-qtempinc=' + os.path.join(build_dir, 'tempinc')
-    return ''
 def generate(env):
     """Add Builders and construction variables for xlC / Visual Age
     suite to an Environment."""