ports/emulators/gem5/files/patch-SConstruct
Veniamin Gvozdikov 6a926b5d3b The gem5 simulator is a modular platform for computer system
architecture research, encompassing system-level architecture
as well as processor microarchitecture.

WWW: http://www.gem5.org/
2015-04-23 17:03:19 +00:00

12 lines
416 B
Text

--- SConstruct.orig 2015-04-21 17:46:54 UTC
+++ SConstruct
@@ -534,6 +534,9 @@ Export('MakeAction')
main['LTO_CCFLAGS'] = []
main['LTO_LDFLAGS'] = []
+# Add pthread
+main.Append(LIBS=['pthread'])
+
# According to the readme, tcmalloc works best if the compiler doesn't
# assume that we're using the builtin malloc and friends. These flags
# are compiler-specific, so we need to set them after we detect which