From: Ali Saidi Date: Sun, 26 Oct 2008 18:45:47 +0000 (-0400) Subject: BATCH: Run as, ar, and ranlib with BATCH_CMD so that they execute on the batch hosts... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aadae0b06e8a3ff1dc39c7d2dbacd488488428fc;p=gem5.git BATCH: Run as, ar, and ranlib with BATCH_CMD so that they execute on the batch hosts, not local host. --- 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...