From d8f7a8655f78861e138866f4e8d2ae24482f3056 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 30 Aug 2011 09:42:54 -0700 Subject: [PATCH] Strip V8 -Werror --- deps/v8/SConstruct | 3 +-- deps/v8/build/common.gypi | 2 +- deps/v8/build/standalone.gypi | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/deps/v8/SConstruct b/deps/v8/SConstruct index f9c33caae5..1dcdce4a8c 100644 --- a/deps/v8/SConstruct +++ b/deps/v8/SConstruct @@ -288,7 +288,6 @@ V8_EXTRA_FLAGS = { 'gcc': { 'all': { 'WARNINGFLAGS': ['-Wall', - '-Werror', '-W', '-Wno-unused-parameter', '-Wnon-virtual-dtor'] @@ -382,7 +381,7 @@ MKSNAPSHOT_EXTRA_FLAGS = { DTOA_EXTRA_FLAGS = { 'gcc': { 'all': { - 'WARNINGFLAGS': ['-Werror', '-Wno-uninitialized'], + 'WARNINGFLAGS': ['-Wno-uninitialized'], 'CCFLAGS': GCC_DTOA_EXTRA_CCFLAGS } }, diff --git a/deps/v8/build/common.gypi b/deps/v8/build/common.gypi index 834516ffd4..27fddcf338 100644 --- a/deps/v8/build/common.gypi +++ b/deps/v8/build/common.gypi @@ -207,7 +207,7 @@ 'cflags': [ '-I/usr/local/include' ], }], ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { - 'cflags': [ '-Wall', '-Werror', '-W', '-Wno-unused-parameter', + 'cflags': [ '-Wall', '-W', '-Wno-unused-parameter', '-Wnon-virtual-dtor' ], }], ], diff --git a/deps/v8/build/standalone.gypi b/deps/v8/build/standalone.gypi index 81909f19a8..1442789ad1 100644 --- a/deps/v8/build/standalone.gypi +++ b/deps/v8/build/standalone.gypi @@ -74,7 +74,7 @@ 'conditions': [ [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { 'target_defaults': { - 'cflags': [ '-Wall', '-Werror', '-W', '-Wno-unused-parameter', + 'cflags': [ '-Wall', '-W', '-Wno-unused-parameter', '-Wnon-virtual-dtor', '-pthread', '-fno-rtti', '-fno-exceptions', '-pedantic' ], 'ldflags': [ '-pthread', ], @@ -172,7 +172,6 @@ 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden 'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics - 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror 'GCC_VERSION': '4.2', 'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', # -Wnewline-eof 'MACOSX_DEPLOYMENT_TARGET': '10.4', # -mmacosx-version-min=10.4