projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d7b43f
)
build: use -pthreads (not -pthread) on Solaris
author
Nathan Rajlich
<nathan@tootallnate.net>
Sun, 26 Feb 2012 02:51:30 +0000
(18:51 -0800)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Mon, 27 Feb 2012 01:28:06 +0000
(
02:28
+0100)
common.gypi
patch
|
blob
|
history
diff --git
a/common.gypi
b/common.gypi
index
3542f86
..
1dbef02
100644
(file)
--- a/
common.gypi
+++ b/
common.gypi
@@
-139,6
+139,12
@@
'cflags': [ '-ansi' ],
'ldflags': [ '-rdynamic' ],
}],
+ [ 'OS=="solaris"', {
+ 'cflags': [ '-pthreads' ],
+ 'ldflags': [ '-pthreads' ],
+ 'cflags!': [ '-pthread' ],
+ 'ldflags!': [ '-pthread' ],
+ }],
],
}],
['OS=="mac"', {