Skip to content

Commit

Permalink
Use -fPIC for NetBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
saper committed Jan 8, 2016
1 parent 8c4b0ff commit 8fa6614
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addon.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@
'_FILE_OFFSET_BITS=64'
],
}],
[ 'OS=="freebsd" or OS=="openbsd" or OS=="solaris" or (OS=="linux" and target_arch!="ia32")', {
[ 'OS in "freebsd openbsd netbsd solaris" or \
(OS=="linux" and target_arch!="ia32")', {
'cflags': [ '-fPIC' ],
}]
]
Expand Down

0 comments on commit 8fa6614

Please sign in to comment.