Gabe Black has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/48137 )
Change subject: scons: Use a different suffix for test object files.
......................................................................
scons: Use a different suffix for test object files.
These files are built with a different command line, and so should be
distinct build artifacts in the build directory.
Change-Id: Iec9403ad73fbdbcb1cd268d68716c3aa85a80b24
---
M src/SConscript
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/SConscript b/src/SConscript
index 1272c06..358f0b8 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -553,6 +553,8 @@
@classmethod
def declare_all(cls, env):
env = env.Clone()
+ env['OBJSUFFIX'] = 't' + env['OBJSUFFIX']
+ env['SHOBJSUFFIX'] = 't' + env['SHOBJSUFFIX']
env.Append(LIBS=env['GTEST_LIBS'])
env.Append(CPPFLAGS=env['GTEST_CPPFLAGS'])
env['GTEST_LIB_SOURCES'] = Source.all.with_tag(env, 'gtest lib')
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/48137
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Iec9403ad73fbdbcb1cd268d68716c3aa85a80b24
Gerrit-Change-Number: 48137
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s