summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2014-03-06 05:11:07 +0100
committerTimothy J Fontaine <tjfontaine@gmail.com>2014-03-23 16:11:08 -0700
commit7989f42f866699b726f596add387fb19fa39bc55 (patch)
tree89943c342665f924d5de4f1a1228fce93bc53be8 /common.gypi
parent43a29f53ca11ab48e1d1ef6b2a0e673ae43a42a0 (diff)
downloadandroid-node-v8-7989f42f866699b726f596add387fb19fa39bc55.tar.gz
android-node-v8-7989f42f866699b726f596add387fb19fa39bc55.tar.bz2
android-node-v8-7989f42f866699b726f596add387fb19fa39bc55.zip
build: fix g++ 4.8 build, disable -Werror
Turn off -Werror when building V8, it hits -Werror=unused-local-typedefs with g++ 4.8. The warning itself is harmless so don't abort the build. This was originally implemented in commit d2ab314e back in 2011 but the build process has gone through a few iterations since then, that change no longer works.
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.gypi b/common.gypi
index 4193b5ab6b..8adafe3936 100644
--- a/common.gypi
+++ b/common.gypi
@@ -1,5 +1,6 @@
{
'variables': {
+ 'werror': '', # Turn off -Werror in V8 build.
'visibility%': 'hidden', # V8's visibility setting
'target_arch%': 'ia32', # set v8's target architecture
'host_arch%': 'ia32', # set v8's host architecture