[Mesa-dev] [PATCH 12/12] Android: Drop linking libgcc

Rob Herring robh at kernel.org
Thu Apr 27 19:43:48 UTC 2017


Including libgcc breaks on Android O (master). Not exactly sure if it is
still needed on older versions or not. N is build with clang, so it
should be fine at least.

Signed-off-by: Rob Herring <robh at kernel.org>
---
 src/gallium/targets/dri/Android.mk | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/gallium/targets/dri/Android.mk b/src/gallium/targets/dri/Android.mk
index 14d1dd5f5d8b..81ef3939f120 100644
--- a/src/gallium/targets/dri/Android.mk
+++ b/src/gallium/targets/dri/Android.mk
@@ -57,9 +57,5 @@ LOCAL_SHARED_LIBRARIES += $(sort $(GALLIUM_SHARED_LIBS))
 
 LOCAL_STATIC_LIBRARIES := libelf
 
-ifeq ($(MESA_ENABLE_LLVM),true)
-LOCAL_LDLIBS += -lgcc
-endif
-
 include $(GALLIUM_COMMON_MK)
 include $(BUILD_SHARED_LIBRARY)
-- 
2.11.0



More information about the mesa-dev mailing list