From a3f05ad4798159c8f22f03d305c2ee32c7287fd5 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..ae9190fd35 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=="freebsd" or OS=="openbsd" or OS=="solaris" or \ + OS=="netbsd" or (OS=="linux" and target_arch!="ia32")', { 'cflags': [ '-fPIC' ], }] ]