diff options
Diffstat (limited to 'emulators/gem5/files/patch-SConstruct')
-rw-r--r-- | emulators/gem5/files/patch-SConstruct | 12 |
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 |