From cd70aa47d24258afa5a6855c2d5d0570fd859d52 Mon Sep 17 00:00:00 2001 From: Tom Cherry Date: Mon, 5 Aug 2019 14:36:46 -0700 Subject: [PATCH] linker: Remove setting _USING_LIBCXX As of aosp/1086558, stdatomic.h directly checks for the presence of instead of checking _USING_LIBCXX, so these lines are obsolete. Test: build Change-Id: Icfdb47b3ad109421b3413041f3d3027e2c0b518e --- linker/Android.bp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/linker/Android.bp b/linker/Android.bp index 5e7a921a4..bdb7c178a 100644 --- a/linker/Android.bp +++ b/linker/Android.bp @@ -177,11 +177,6 @@ cc_defaults { "-Wextra", "-Wunused", "-Werror", - - // Define _USING_LIBCXX so defers to the header. When a Soong module - // uses the platform libc++, Soong automatically passes this macro, but the dynamic linker - // links against libc++ manually. - "-D_USING_LIBCXX", ], // TODO: split out the asflags.