diff options
Diffstat (limited to 'deps/v8/build/android.gypi')
-rw-r--r-- | deps/v8/build/android.gypi | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/deps/v8/build/android.gypi b/deps/v8/build/android.gypi index 67a9d3582..d2d1a3572 100644 --- a/deps/v8/build/android.gypi +++ b/deps/v8/build/android.gypi @@ -122,6 +122,8 @@ 'ldflags': [ '-nostdlib', '-Wl,--no-undefined', + # Don't export symbols from statically linked libraries. + '-Wl,--exclude-libs=ALL', ], 'libraries!': [ '-lrt', # librt is built into Bionic. @@ -217,13 +219,6 @@ ['_type=="shared_library"', { 'ldflags': [ '-Wl,-shared,-Bsymbolic', - '<(android_lib)/crtbegin_so.o', - ], - }], - ['_type=="static_library"', { - 'ldflags': [ - # Don't export symbols from statically linked libraries. - '-Wl,--exclude-libs=ALL', ], }], ], |