summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2008-10-26 14:45:47 -0400
committerAli Saidi <saidi@eecs.umich.edu>2008-10-26 14:45:47 -0400
commitaadae0b06e8a3ff1dc39c7d2dbacd488488428fc (patch)
tree210b79efb460f73f9f0461df4f7ef178643c3304 /SConstruct
parent8788d703f81cef20916ffd2c7e0d28031cf65df8 (diff)
downloadgem5-aadae0b06e8a3ff1dc39c7d2dbacd488488428fc.tar.xz
BATCH: Run as, ar, and ranlib with BATCH_CMD so that they execute on the batch hosts, not local host.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct7
1 files changed, 5 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 260c025bd..ce34fa541 100644
--- a/SConstruct
+++ b/SConstruct
@@ -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...