Skip to content

Commit

Permalink
Use -fPIC for NetBSD.
Browse files Browse the repository at this point in the history
Fixes: sass/node-sass#1334
PR-URL: #856
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
saper authored and bnoordhuis committed Jan 8, 2016
1 parent 8c4b0ff commit 07371e5
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 07371e5

Please sign in to comment.