Remove -nostdlib
-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
diff --git a/Android.bp b/Android.bp
index 9fabe3c..d112d6b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -398,10 +398,6 @@
},
target: {
- linux_glibc: {
- // Remove dependencies on libgcc
- ldflags: ["-nostdlib"],
- },
linux_bionic: {
enabled: true,
},