| Index: build/android.gypi
|
| diff --git a/build/android.gypi b/build/android.gypi
|
| index c119271a20d59000ef2da218a9ac5ff5186e352d..5c5084f2b6c83178efb8676904890f7b7a970b88 100644
|
| --- a/build/android.gypi
|
| +++ b/build/android.gypi
|
| @@ -184,6 +184,11 @@
|
| '-L<(android_stlport_libs)/x86',
|
| ],
|
| }],
|
| + ['target_arch=="x64"', {
|
| + 'ldflags': [
|
| + '-L<(android_stlport_libs)/x86_64',
|
| + ],
|
| + }],
|
| ['target_arch=="arm64"', {
|
| 'ldflags': [
|
| '-L<(android_stlport_libs)/arm64',
|
| @@ -252,8 +257,15 @@
|
| }], # _toolset=="target"
|
| # Settings for building host targets using the system toolchain.
|
| ['_toolset=="host"', {
|
| - 'cflags': [ '-m32', '-pthread' ],
|
| - 'ldflags': [ '-m32', '-pthread' ],
|
| + 'conditions': [
|
| + ['target_arch=="x64"', {
|
| + 'cflags': [ '-m64', '-pthread' ],
|
| + 'ldflags': [ '-m64', '-pthread' ],
|
| + }, {
|
| + 'cflags': [ '-m32', '-pthread' ],
|
| + 'ldflags': [ '-m32', '-pthread' ],
|
| + }],
|
| + ],
|
| 'ldflags!': [
|
| '-Wl,-z,noexecstack',
|
| '-Wl,--gc-sections',
|
|
|