Strip V8 -Werror
This commit is contained in:
parent
6b6f2b1d2c
commit
d8f7a8655f
3
deps/v8/SConstruct
vendored
3
deps/v8/SConstruct
vendored
@ -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
|
||||
}
|
||||
},
|
||||
|
2
deps/v8/build/common.gypi
vendored
2
deps/v8/build/common.gypi
vendored
@ -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' ],
|
||||
}],
|
||||
],
|
||||
|
3
deps/v8/build/standalone.gypi
vendored
3
deps/v8/build/standalone.gypi
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user