Skip to content

Instantly share code, notes, and snippets.

@tiagovignatti
Created November 21, 2014 16:44
Show Gist options
  • Save tiagovignatti/3f3b21b06015b148adf0 to your computer and use it in GitHub Desktop.
Save tiagovignatti/3f3b21b06015b148adf0 to your computer and use it in GitHub Desktop.
diff --git a/build/standalone.gypi b/build/standalone.gypi
index b09122b..d455465 100644
--- a/build/standalone.gypi
+++ b/build/standalone.gypi
@@ -69,7 +69,7 @@
'host_arch%': '<(host_arch)',
'target_arch%': '<(target_arch)',
'v8_target_arch%': '<(v8_target_arch)',
- 'werror%': '-Werror',
+ 'werror%': '',
# .gyp files or targets should set v8_code to 1 if they build V8 specific
# code, as opposed to external code. This variable is used to control such
diff --git a/build/toolchain.gypi b/build/toolchain.gypi
index 7f3b9e5..3db7a6a 100644
--- a/build/toolchain.gypi
+++ b/build/toolchain.gypi
@@ -84,7 +84,7 @@
'v8_toolset_for_d8%': 'target',
'host_os%': '<(OS)',
- 'werror%': '-Werror',
+ 'werror%': '',
# For a shared library build, results in "libv8-<(soname_version).so".
'soname_version%': '',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment