[Pkg-javascript-commits] [node-leveldown] 105/492: remove compile warnings for solaris

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 7b907b07f5d02ae594b6f94501b2d04af08eb20d
Author: Rod Vagg <rod at vagg.org>
Date:   Sat Dec 15 12:00:40 2012 +1100

    remove compile warnings for solaris
---
 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 f525149..1e64129 100644
--- a/deps/leveldb/leveldb.gyp
+++ b/deps/leveldb/leveldb.gyp
@@ -58,6 +58,10 @@
               , '-pthread'
               , '-fPIC'
             ]
+          , 'cflags': [
+                '-Wno-sign-compare'
+              , '-Wno-unused-but-set-variable'
+            ]
         }]
       , ['OS == "mac"', {
             'defines': [
diff --git a/deps/snappy/snappy.gyp b/deps/snappy/snappy.gyp
index 37ce1d8..bbbdb53 100644
--- a/deps/snappy/snappy.gyp
+++ b/deps/snappy/snappy.gyp
@@ -26,6 +26,12 @@
               , '-Wno-unused-function'
             ]
         }]
+      , ['OS == "solaris"', {
+            '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