make sparc fs less chatty
src/SConscript:
strip doesn't take a src and dest in solaris
--HG--
extra : convert_revision : 57f95eda0e3232475a5b55753ace3f3f0fced8b3
This commit is contained in:
@@ -304,7 +304,10 @@ def makeEnv(label, objsfx, strip = False, **kwargs):
|
||||
newEnv.Program(bin, make_objs(sources, newEnv))
|
||||
if strip:
|
||||
stripped_bin = bin + '.stripped'
|
||||
newEnv.Command(stripped_bin, bin, 'strip $SOURCE -o $TARGET')
|
||||
if sys.platform == 'sunos5':
|
||||
newEnv.Command(stripped_bin, bin, 'cp $SOURCE $TARGET; strip $TARGET')
|
||||
else:
|
||||
newEnv.Command(stripped_bin, bin, 'strip $SOURCE -o $TARGET')
|
||||
bin = stripped_bin
|
||||
targets = newEnv.Concat(exe, [bin, 'python/m5py.zip'])
|
||||
newEnv.M5Binary = targets[0]
|
||||
|
||||
Reference in New Issue
Block a user