Make sure --sysroot is appended at last
This commit is contained in:
parent
9fec1a3cb4
commit
2fcf2c81bf
1 changed files with 5 additions and 1 deletions
|
@ -172,7 +172,11 @@
|
|||
'target_defaults': {
|
||||
'target_conditions': [
|
||||
['_toolset=="target"', {
|
||||
'cflags': [
|
||||
# Do not use 'cflags' to make sure sysroot is appended at last.
|
||||
'cflags_cc': [
|
||||
'--sysroot=<(sysroot)',
|
||||
],
|
||||
'cflags_c': [
|
||||
'--sysroot=<(sysroot)',
|
||||
],
|
||||
'ldflags': [
|
||||
|
|
Loading…
Reference in a new issue