BATCH: Run as, ar, and ranlib with BATCH_CMD so that they execute on the batch hosts...
authorAli Saidi <saidi@eecs.umich.edu>
Sun, 26 Oct 2008 18:45:47 +0000 (14:45 -0400)
committerAli Saidi <saidi@eecs.umich.edu>
Sun, 26 Oct 2008 18:45:47 +0000 (14:45 -0400)
SConstruct

index 260c025bd4cd5ecf441bcb9adac09f67851492bc..ce34fa541699631b6b437c2015cd50c0dc180753 100644 (file)
@@ -369,8 +369,11 @@ else:
 # Do this after we save setting back, or else we'll tack on an
 # extra 'qdo' every time we run scons.
 if env['BATCH']:
-    env['CC']  = env['BATCH_CMD'] + ' ' + env['CC']
-    env['CXX'] = env['BATCH_CMD'] + ' ' + env['CXX']
+    env['CC']     = env['BATCH_CMD'] + ' ' + env['CC']
+    env['CXX']    = env['BATCH_CMD'] + ' ' + env['CXX']
+    env['AS']     = env['BATCH_CMD'] + ' ' + env['AS']
+    env['AR']     = env['BATCH_CMD'] + ' ' + env['AR']
+    env['RANLIB'] = env['BATCH_CMD'] + ' ' + env['RANLIB']
 
 if sys.platform == 'cygwin':
     # cygwin has some header file issues...