diff options
author | Evan Martin <martine@danga.com> | 2011-12-05 19:53:33 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-12-05 20:59:38 (GMT) |
commit | 3d17415c4672348d0892e71b15d850a66f95a095 (patch) | |
tree | 3f81edc755a5a286a240c1ea510a3f2d0800a9f3 /configure.py | |
parent | 3b9f727e2b8f04d5f0cac4ede5149a0beceef019 (diff) | |
download | Ninja-3d17415c4672348d0892e71b15d850a66f95a095.zip Ninja-3d17415c4672348d0892e71b15d850a66f95a095.tar.gz Ninja-3d17415c4672348d0892e71b15d850a66f95a095.tar.bz2 |
disable the 'unused parameter' warning
It was firing too often, and hadn't uncovered any bugs.
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.py b/configure.py index fbcdeb3..ef4bec1 100755 --- a/configure.py +++ b/configure.py @@ -74,7 +74,10 @@ n.variable('builddir', 'build') n.variable('cxx', os.environ.get('CXX', 'g++')) n.variable('ar', os.environ.get('AR', 'ar')) -cflags = ['-g', '-Wall', '-Wextra', '-Wno-deprecated', '-fno-exceptions', +cflags = ['-g', '-Wall', '-Wextra', + '-Wno-deprecated', + '-Wno-unused-parameter', + '-fno-exceptions', '-fvisibility=hidden', '-pipe'] if not options.debug: cflags += ['-O2', '-DNDEBUG'] |