diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-01-31 18:32:27 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-01-31 18:32:27 -0500 |
commit | 5c7192daedcd33d9f7deb42406002adf4f2ffb68 (patch) | |
tree | 6d0cf97f10eda6dfda23d5e5b10e31e0bbe1aa66 /src/SConscript | |
parent | 36a1912bf01433acc86837ed60da6d510323aa1e (diff) | |
download | gem5-5c7192daedcd33d9f7deb42406002adf4f2ffb68.tar.xz |
make sparc fs less chatty
src/SConscript:
strip doesn't take a src and dest in solaris
--HG--
extra : convert_revision : 57f95eda0e3232475a5b55753ace3f3f0fced8b3
Diffstat (limited to 'src/SConscript')
-rw-r--r-- | src/SConscript | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/SConscript b/src/SConscript index 2a61100c1..74bed9a7e 100644 --- a/src/SConscript +++ b/src/SConscript @@ -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] |