[Pkg-javascript-commits] [node-leveldown] 106/492: cleaner build for osx

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Sun Jul 6 17:13:49 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 4ff98227100c8cb6d729ebc6b4696f1f44f99c5f
Author: Rod Vagg <rod at vagg.org>
Date:   Sat Dec 15 15:07:35 2012 +1100

    cleaner build for osx
---
 deps/leveldb/leveldb.gyp | 4 ++++
 deps/snappy/snappy.gyp   | 6 ++++++
 2 files changed, 10 insertions(+)

diff --git a/deps/leveldb/leveldb.gyp b/deps/leveldb/leveldb.gyp
index 1e64129..e43efcd 100644
--- a/deps/leveldb/leveldb.gyp
+++ b/deps/leveldb/leveldb.gyp
@@ -73,6 +73,10 @@
                 '-fno-builtin-memcmp'
               , '-fPIC'
             ]
+          , 'cflags': [
+                '-Wno-sign-compare'
+              , '-Wno-unused-variable'
+            ]
         }]
     ]
   , 'sources': [
diff --git a/deps/snappy/snappy.gyp b/deps/snappy/snappy.gyp
index bbbdb53..3e27bec 100644
--- a/deps/snappy/snappy.gyp
+++ b/deps/snappy/snappy.gyp
@@ -32,6 +32,12 @@
               , '-Wno-unused-function'
             ]
         }]
+      , ['OS == "mac"', {
+            'cflags': [
+                '-Wno-sign-compare'
+              , '-Wno-unused-function'
+            ]
+        }]
     ]
   , 'sources': [
         'snappy-1.0.5/snappy-internal.h'

-- 
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