From 8fa6614e5c529db8f0b49ab93cfc6b9e03b37a7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Cie=C5=9Blak?= Date: Fri, 8 Jan 2016 15:10:48 +0000 Subject: [PATCH] Use -fPIC for NetBSD Fixes: https://github.com/sass/node-sass/issues/1334 --- addon.gypi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addon.gypi b/addon.gypi index 3372bfa521..552e4748d3 100644 --- a/addon.gypi +++ b/addon.gypi @@ -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' ], }] ]