aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-10-03 16:07:03 -0700
committerColin Cross <ccross@android.com>2019-10-03 16:07:03 -0700
commit58c98b149356d6acf3b7ef5480f94baa4e9070ee (patch)
treea4546ee1527649071fc1697bde9747230f49920f
parent8e7522ad8a52163f601582ba09c103dca3328a22 (diff)
downloadlibunwind-58c98b149356d6acf3b7ef5480f94baa4e9070ee.tar.gz
Remove -nostdlibndk-sysroot-r21
-nostdlib wasn't working as intended, because the build system was passing -nodefaultlibs and then adding back most of the default libraries manually. It is now passing -nostdlib++, which was causing libunwind to no longer link against libc. Test: m checkbuild Change-Id: I172c73e0502527b82ed4e094e080f1c653b73cd0
-rw-r--r--Android.bp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Android.bp b/Android.bp
index 9fabe3c9..d112d6b9 100644
--- a/Android.bp
+++ b/Android.bp
@@ -398,10 +398,6 @@ cc_defaults {
},
target: {
- linux_glibc: {
- // Remove dependencies on libgcc
- ldflags: ["-nostdlib"],
- },
linux_bionic: {
enabled: true,
},