[Pkg-javascript-commits] [node-leveldown] 402/492: initial freebsd leveldb.gyp changes

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Sun Jul 6 17:14:23 UTC 2014


This is an automated email from the git hooks/post-receive script.

andrewrk-guest pushed a commit to annotated tag rocksdb-0.10.1
in repository node-leveldown.

commit 1399a3f85b462b9968c2721eb4356468811fe9d3
Author: Rod Vagg <rod at vagg.org>
Date:   Mon Sep 2 10:37:33 2013 +1000

    initial freebsd leveldb.gyp changes
---
 deps/leveldb/leveldb.gyp | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/deps/leveldb/leveldb.gyp b/deps/leveldb/leveldb.gyp
index 05305db..d8e54df 100644
--- a/deps/leveldb/leveldb.gyp
+++ b/deps/leveldb/leveldb.gyp
@@ -61,7 +61,9 @@
                 '-fno-builtin-memcmp'
               , '-fPIC'
             ]
-          , 'cflags': [
+        }]
+      , ['OS != "win"' and 'OS != "freebsd"', {
+            'cflags': [
                 '-Wno-sign-compare'
               , '-Wno-unused-but-set-variable'
             ]
@@ -77,6 +79,18 @@
                 '-pthread'
             ]
         }]
+      , ['OS == "freebsd"', {
+            'defines': [
+                'OS_FREEBSD=1'
+              , '_REENTRANT=1'
+            ]
+          , 'libraries': [
+                '-lpthread'
+            ]
+          , 'ccflags': [
+                '-pthread'
+            ]
+        }]
       , ['OS == "solaris"', {
             'defines': [
                 'OS_SOLARIS=1'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-leveldown.git



More information about the Pkg-javascript-commits mailing list