summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorAaron Bieber <aaron@bolddaemon.com>2018-01-30 15:14:27 -0700
committerJames M Snell <jasnell@gmail.com>2018-02-02 09:55:47 -0800
commit68d9f63347914f7e5ba166b9609dd82a209a72ac (patch)
tree4e96a81c4d7cc051ef56c708c7f1ae8c9db11351 /common.gypi
parenteb82b21138488f8893b80592cc245daa5a43de29 (diff)
downloadandroid-node-v8-68d9f63347914f7e5ba166b9609dd82a209a72ac.tar.gz
android-node-v8-68d9f63347914f7e5ba166b9609dd82a209a72ac.tar.bz2
android-node-v8-68d9f63347914f7e5ba166b9609dd82a209a72ac.zip
build: add cflags for OpenBSD, remove stray comma.
PR-URL: https://github.com/nodejs/node/pull/18448 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi3
1 files changed, 2 insertions, 1 deletions
diff --git a/common.gypi b/common.gypi
index 16221c0db9..f6002f9349 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' ],
}],
],