diff options
author | Nathan Binkert <nate@binkert.org> | 2009-01-19 09:03:41 -0800 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2009-01-19 09:03:41 -0800 |
commit | 51d780fa4d84316bdd56a2d7cd405642e887c649 (patch) | |
tree | 6522f311b577c8462bd4b90e9d37dad386de72a6 | |
parent | fb572a1d7445adb91bba588c29fff18b1d8b88b7 (diff) | |
download | gem5-51d780fa4d84316bdd56a2d7cd405642e887c649.tar.xz |
scons: Don't add all objects to the library twice
-rw-r--r-- | src/SConscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SConscript b/src/SConscript index a14e868fe..cb523aa94 100644 --- a/src/SConscript +++ b/src/SConscript @@ -1011,8 +1011,8 @@ def makeEnv(label, objsfx, strip = False, **kwargs): # First make a library of everything but main() so other programs can # link against m5. - static_lib = new_env.StaticLibrary(libname, static_objs + static_objs) - shared_lib = new_env.SharedLibrary(libname, shared_objs + shared_objs) + static_lib = new_env.StaticLibrary(libname, static_objs) + shared_lib = new_env.SharedLibrary(libname, shared_objs) for target, sources in unit_tests: objs = [ new_env.StaticObject(s) for s in sources ] |