From 9c6bb5f3862ed3b0725fb712bf3010b00ae1e6ea Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Tue, 30 Jan 2018 15:14:27 -0700 Subject: [PATCH] build: add cflags for OpenBSD, remove stray comma. PR-URL: https://github.com/nodejs/node/pull/18448 Reviewed-By: Daniel Bevenius Reviewed-By: James M Snell --- common.gypi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common.gypi b/common.gypi index 0108301e3fb28c..08ef48ccedcccf 100644 --- a/common.gypi +++ b/common.gypi @@ -288,7 +288,7 @@ ], }], [ 'OS in "linux freebsd openbsd solaris aix"', { - 'cflags': [ '-pthread', ], + 'cflags': [ '-pthread' ], 'ldflags': [ '-pthread' ], }], [ 'OS in "linux freebsd openbsd solaris android aix cloudabi"', { @@ -301,6 +301,7 @@ 'standalone_static_library': 1, }], ['OS=="openbsd"', { + 'cflags': [ '-I/usr/local/include' ], 'ldflags': [ '-Wl,-z,wxneeded' ], }], ],