[Pkg-javascript-commits] [node-leveldown] 118/492: remove compile warnings on osx!
Andrew Kelley
andrewrk-guest at moszumanska.debian.org
Sun Jul 6 17:13:50 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 2b3288c0bf6ae6489c9fd1ffb2098f2907c67474
Author: Rod Vagg <rod at vagg.org>
Date: Sun Dec 16 16:06:32 2012 +1100
remove compile warnings on osx!
---
deps/leveldb/leveldb.gyp | 13 ++++++++-----
deps/snappy/snappy.gyp | 12 +++++++-----
2 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/deps/leveldb/leveldb.gyp b/deps/leveldb/leveldb.gyp
index e43efcd..5baed0c 100644
--- a/deps/leveldb/leveldb.gyp
+++ b/deps/leveldb/leveldb.gyp
@@ -73,10 +73,13 @@
'-fno-builtin-memcmp'
, '-fPIC'
]
- , 'cflags': [
- '-Wno-sign-compare'
- , '-Wno-unused-variable'
- ]
+ , 'xcode_settings': {
+ 'WARNING_CFLAGS': [
+ '-Wno-sign-compare'
+ , '-Wno-unused-variable'
+ , '-Wno-unused-function'
+ ]
+ }
}]
]
, 'sources': [
@@ -163,4 +166,4 @@
, 'leveldb-<(ldbversion)/util/random.h'
, 'leveldb-<(ldbversion)/util/status.cc'
]
-}]}
\ No newline at end of file
+}]}
diff --git a/deps/snappy/snappy.gyp b/deps/snappy/snappy.gyp
index 3e27bec..aeb697b 100644
--- a/deps/snappy/snappy.gyp
+++ b/deps/snappy/snappy.gyp
@@ -33,10 +33,12 @@
]
}]
, ['OS == "mac"', {
- 'cflags': [
- '-Wno-sign-compare'
- , '-Wno-unused-function'
- ]
+ 'xcode_settings': {
+ 'WARNING_CFLAGS': [
+ '-Wno-sign-compare'
+ , '-Wno-unused-function'
+ ]
+ }
}]
]
, 'sources': [
@@ -48,4 +50,4 @@
, 'snappy-1.0.5/snappy.cc'
, 'snappy-1.0.5/snappy.h'
]
-}]}
\ No newline at end of file
+}]}
--
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