Skip to content

Commit 7af2510

Browse files
authored
Merge pull request #13 from rse/master
add support for FreeBSD OS, similar to the support for Linux OS
2 parents 70b2a7b + 77c39b6 commit 7af2510

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

binding.gyp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@
5151
"cflags_c+": [ "-std=c++11", "-fexceptions" ],
5252
"cflags_cc+": [ "-std=c++11", "-fexceptions" ],
5353
}],
54+
[ "OS=='freebsd'", {
55+
"cflags+": [ "-std=c++11", "-fexceptions" ],
56+
"cflags_c+": [ "-std=c++11", "-fexceptions" ],
57+
"cflags_cc+": [ "-std=c++11", "-fexceptions" ],
58+
}],
5459
[ "OS=='mac'", {
5560
"cflags+": [ "-stdlib=libc++" ],
5661
"xcode_settings": {

0 commit comments

Comments
 (0)