summaryrefslogtreecommitdiff
path: root/emulators/gem5/files/patch-SConstruct
diff options
context:
space:
mode:
authorVeniamin Gvozdikov <vg@FreeBSD.org>2015-04-23 17:03:19 +0000
committerVeniamin Gvozdikov <vg@FreeBSD.org>2015-04-23 17:03:19 +0000
commit6a926b5d3b143670675bc5417828b97b8e4d8c42 (patch)
tree0c53d4055c22f0cdec4998b32e9ad4a46ff548ee /emulators/gem5/files/patch-SConstruct
parentUpdate to 2.0.2, take maintainership (diff)
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/
Diffstat (limited to 'emulators/gem5/files/patch-SConstruct')
-rw-r--r--emulators/gem5/files/patch-SConstruct12
1 files changed, 12 insertions, 0 deletions
diff --git a/emulators/gem5/files/patch-SConstruct b/emulators/gem5/files/patch-SConstruct
new file mode 100644
index 000000000000..982859f1d5c7
--- /dev/null
+++ b/emulators/gem5/files/patch-SConstruct
@@ -0,0 +1,12 @@
+--- 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