From 58c98b149356d6acf3b7ef5480f94baa4e9070ee Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 3 Oct 2019 16:07:03 -0700 Subject: 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 --- Android.bp | 4 ---- 1 file changed, 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, }, -- cgit v1.2.3