|
|
f7210c |
From 4e4e680695d9c7e634008ed9bc398999ae13687f Mon Sep 17 00:00:00 2001
|
|
|
f7210c |
From: Tomas Hrcka <thrcka@redhat.com>
|
|
|
f7210c |
Date: Wed, 25 Sep 2013 10:54:51 +0200
|
|
|
f7210c |
Subject: [PATCH] kokot
|
|
|
f7210c |
|
|
|
f7210c |
---
|
|
|
f7210c |
build/common.gypi | 3 ++-
|
|
|
f7210c |
build/standalone.gypi | 1 +
|
|
|
f7210c |
preparser/preparser.gyp | 2 +-
|
|
|
f7210c |
3 files changed, 4 insertions(+), 2 deletions(-)
|
|
|
f7210c |
|
|
|
f7210c |
diff --git a/build/common.gypi b/build/common.gypi
|
|
|
f7210c |
index 78888b8..e49e54d 100644
|
|
|
f7210c |
--- a/build/common.gypi
|
|
|
f7210c |
+++ b/build/common.gypi
|
|
|
f7210c |
@@ -356,7 +356,8 @@
|
|
|
f7210c |
'conditions': [
|
|
|
f7210c |
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', {
|
|
|
f7210c |
'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
|
|
|
f7210c |
- '-Wnon-virtual-dtor', '-Woverloaded-virtual' ],
|
|
|
f7210c |
+ '-Wnon-virtual-dtor', '-Woverloaded-virtual',
|
|
|
e93883 |
+ '-Wno-unused-local-typedefs', '-Wno-aggressive-loop-optimizations', '-Wno-unused-but-set-variable' ],
|
|
|
f7210c |
}],
|
|
|
f7210c |
['OS=="android"', {
|
|
|
f7210c |
'variables': {
|
|
|
f7210c |
diff --git a/build/standalone.gypi b/build/standalone.gypi
|
|
|
f7210c |
index 7145a16..84c072c 100644
|
|
|
f7210c |
--- a/build/standalone.gypi
|
|
|
f7210c |
+++ b/build/standalone.gypi
|
|
|
f7210c |
@@ -93,6 +93,7 @@
|
|
|
f7210c |
or OS=="netbsd"', {
|
|
|
f7210c |
'target_defaults': {
|
|
|
f7210c |
'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
|
|
|
e93883 |
+ '-Wno-unused-local-typedefs', '-Wno-aggressive-loop-optimizations', '-Wno-unused-but-set-variable',
|
|
|
f7210c |
'-Wnon-virtual-dtor', '-pthread', '-fno-rtti',
|
|
|
f7210c |
'-fno-exceptions', '-pedantic' ],
|
|
|
f7210c |
'ldflags': [ '-pthread', ],
|
|
|
f7210c |
--
|
|
|
f7210c |
1.7.1
|
|
|
f7210c |
|