Source release 15.1.0
This commit is contained in:
45
third_party/boringssl/boringssl.gyp
vendored
45
third_party/boringssl/boringssl.gyp
vendored
@@ -7,21 +7,37 @@
|
||||
},
|
||||
|
||||
'target_defaults': {
|
||||
# Turn off bad-function-cast warning, as BoringSSL violates this sometimes.
|
||||
|
||||
'cflags': [
|
||||
'-g',
|
||||
'-fPIC',
|
||||
'-fvisibility=hidden',
|
||||
'-Wno-bad-function-cast',
|
||||
# BoringSSL violates these warnings
|
||||
'-Wno-cast-qual',
|
||||
],
|
||||
'cflags!': [
|
||||
'-Wbad-function-cast',
|
||||
'-Wcast-qual',
|
||||
],
|
||||
'cflags_cc!': [
|
||||
'-Wbad-function-cast',
|
||||
'-Wcast-qual',
|
||||
],
|
||||
'cflags_c': [
|
||||
# BoringSSL violates these warnings
|
||||
'-Wno-bad-function-cast',
|
||||
],
|
||||
'cflags_c!': [
|
||||
'-Wbad-function-cast',
|
||||
'-Wcast-qual',
|
||||
],
|
||||
|
||||
'msvs_settings': {
|
||||
'VCCLCompilerTool': {
|
||||
# Disable warnings for third-party code.
|
||||
'WarningLevel': '0',
|
||||
},
|
||||
},
|
||||
|
||||
'ldflags': [
|
||||
'-fPIC',
|
||||
],
|
||||
@@ -41,6 +57,29 @@
|
||||
],
|
||||
},
|
||||
|
||||
'direct_dependent_settings': {
|
||||
# BoringSSL's exported headers fail these warnings
|
||||
'cflags': [
|
||||
'-Wno-unknown-warning-option',
|
||||
'-Wno-cast-qual',
|
||||
],
|
||||
'cflags!': [
|
||||
'-Wbad-function-cast',
|
||||
'-Wcast-qual',
|
||||
],
|
||||
'cflags_c': [
|
||||
'-Wno-bad-function-cast',
|
||||
],
|
||||
'cflags_c!': [
|
||||
'-Wbad-function-cast',
|
||||
'-Wcast-qual',
|
||||
],
|
||||
'cflags_cc!': [
|
||||
'-Wbad-function-cast',
|
||||
'-Wcast-qual',
|
||||
],
|
||||
},
|
||||
|
||||
'type': 'static_library',
|
||||
'standalone_static_library': 1,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user