Source release v3.2.0
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
# Here you can override global gyp variables with platform-specific values.
|
||||
# See cdm.gyp for a complete list of settings you can override.
|
||||
'variables': {
|
||||
'disable_cpp_11%': 0,
|
||||
#'oemcrypto_version': 9,
|
||||
}, # end variables
|
||||
|
||||
@@ -23,7 +24,6 @@
|
||||
|
||||
# These are flags passed to the compiler for C++ only.
|
||||
'cflags_cc': [
|
||||
'-std=c++11',
|
||||
],
|
||||
|
||||
# These are flags passed to the linker.
|
||||
@@ -64,6 +64,22 @@
|
||||
'include_dirs=': [
|
||||
],
|
||||
}], # end _toolset == "host" condition
|
||||
|
||||
# Compile using C++11, unless we are forcing the use of C++03
|
||||
['<(disable_cpp_11) == 1', {
|
||||
'defines': [
|
||||
'DISABLE_CPP_11',
|
||||
],
|
||||
'cflags_cc': [
|
||||
# When using std++03 it defines __STRICT_ANSI__, which will make the
|
||||
# clang headers not define va_copy.
|
||||
'-std=gnu++98',
|
||||
],
|
||||
}, { # disable_cpp_11 != 1
|
||||
'cflags_cc': [
|
||||
'-std=c++11',
|
||||
],
|
||||
}], # end disable_cpp_11 == 1 condition
|
||||
], # end target_conditions
|
||||
|
||||
'configurations': {
|
||||
|
||||
Reference in New Issue
Block a user