common.gypi: don't nest "target_defaults" within "target_defaults"
The "conditions" block is already within a "target_defaults", so its children amend target default settings already.
This commit is contained in:
parent
485d5b5dff
commit
a916d888f2
@ -104,7 +104,6 @@
|
|||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
[ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
|
[ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
|
||||||
'target_defaults': {
|
|
||||||
'cflags': [ '-Wall', '-pthread', '-fno-rtti', '-fno-exceptions' ],
|
'cflags': [ '-Wall', '-pthread', '-fno-rtti', '-fno-exceptions' ],
|
||||||
'ldflags': [ '-pthread', ],
|
'ldflags': [ '-pthread', ],
|
||||||
'conditions': [
|
'conditions': [
|
||||||
@ -119,10 +118,8 @@
|
|||||||
'cflags': [ '-fvisibility=hidden' ],
|
'cflags': [ '-fvisibility=hidden' ],
|
||||||
}],
|
}],
|
||||||
],
|
],
|
||||||
},
|
|
||||||
}],
|
}],
|
||||||
['OS=="mac"', {
|
['OS=="mac"', {
|
||||||
'target_defaults': {
|
|
||||||
'xcode_settings': {
|
'xcode_settings': {
|
||||||
'ALWAYS_SEARCH_USER_PATHS': 'NO',
|
'ALWAYS_SEARCH_USER_PATHS': 'NO',
|
||||||
'GCC_C_LANGUAGE_STANDARD': 'ansi', # -ansi
|
'GCC_C_LANGUAGE_STANDARD': 'ansi', # -ansi
|
||||||
@ -158,8 +155,7 @@
|
|||||||
'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},
|
'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},
|
||||||
}],
|
}],
|
||||||
],
|
],
|
||||||
},
|
|
||||||
}],
|
}],
|
||||||
],
|
],
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user