diff options
author | Nathan Binkert <nate@binkert.org> | 2009-02-09 20:10:12 -0800 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2009-02-09 20:10:12 -0800 |
commit | 9e268ae63fe61c2365447d0df6baa351751cacb7 (patch) | |
tree | fa0bff05e5cd525744676b9a2e6838ce04df7011 /src/SConscript | |
parent | e1798d063e6d794bd44ba329e1b3ba5ac1dca9a5 (diff) | |
download | gem5-9e268ae63fe61c2365447d0df6baa351751cacb7.tar.xz |
scons: Don't build the intermediate static library unless explicitly requested.
This means that similar to libm5_fast.so, you need to explicitly build
build/ALPHA_SE/libm5_fast.a if you want it.
Diffstat (limited to 'src/SConscript')
-rw-r--r-- | src/SConscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SConscript b/src/SConscript index 27ad56397..894a08df9 100644 --- a/src/SConscript +++ b/src/SConscript @@ -992,10 +992,10 @@ def makeEnv(label, objsfx, strip = False, **kwargs): for target, sources in unit_tests: objs = [ new_env.StaticObject(s) for s in sources ] - new_env.Program("unittest/%s.%s" % (target, label), objs + static_lib) + new_env.Program("unittest/%s.%s" % (target, label), objs + static_objs) # Now link a stub with main() and the static library. - objects = [new_env.Object(s) for s in cc_bin_sources] + static_lib + objects = [new_env.Object(s) for s in cc_bin_sources] + static_objs if strip: unstripped_exe = exename + '.unstripped' new_env.Program(unstripped_exe, objects) |