mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 05:00:30 -04:00
architecture research, encompassing system-level architecture as well as processor microarchitecture. WWW: http://www.gem5.org/
12 lines
416 B
Text
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
|