diff options
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] |