|
|
@ -270,7 +270,7 @@ |
|
|
|
'target_conditions': [ |
|
|
|
['_toolset=="host"', { |
|
|
|
'variables': { |
|
|
|
'm32flag': '<!((echo | $(echo ${CXX_host:-$(which g++)}) -m32 -E - > /dev/null 2>&1) && echo -n "-m32" || true)', |
|
|
|
'm32flag': '<!((echo | $(echo ${CXX_host:-$(which g++)}) -m32 -E - > /dev/null 2>&1) && echo "-m32" || true)', |
|
|
|
}, |
|
|
|
'cflags': [ '<(m32flag)' ], |
|
|
|
'ldflags': [ '<(m32flag)' ], |
|
|
@ -280,7 +280,7 @@ |
|
|
|
}], |
|
|
|
['_toolset=="target"', { |
|
|
|
'variables': { |
|
|
|
'm32flag': '<!((echo | $(echo ${CXX_target:-${CXX:-$(which g++)}}) -m32 -E - > /dev/null 2>&1) && echo -n "-m32" || true)', |
|
|
|
'm32flag': '<!((echo | $(echo ${CXX_target:-${CXX:-$(which g++)}}) -m32 -E - > /dev/null 2>&1) && echo "-m32" || true)', |
|
|
|
}, |
|
|
|
'cflags': [ '<(m32flag)' ], |
|
|
|
'ldflags': [ '<(m32flag)' ], |
|
|
|