Permalink
Browse files

No -fPIC on 32-but linux but do enable for the other UNIX flavors.

  • Loading branch information...
1 parent a889afb commit 733821fad56a1e689ed1e0af77a7fe711da71ff5 @TooTallNate committed Feb 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/addon.gypi
View
@@ -16,7 +16,7 @@
[ 'OS=="win"', {
'libraries': [ '-l<(node_root_dir)/$(Configuration)/node.lib' ],
}],
- [ 'OS=="linux"', {
+ [ 'OS=="freebsd" or OS=="openbsd" or OS=="solaris" or (OS=="linux" and target_arch!="ia32")', {
'cflags': [ '-fPIC' ],
}]
]

0 comments on commit 733821f

Please sign in to comment.