OSDN Git Service

libc: allow forcing compilation with gcc
authorSimon Shields <keepcalm444@gmail.com>
Wed, 14 Sep 2016 06:40:19 +0000 (16:40 +1000)
committerSimon Shields <keepcalm444@gmail.com>
Sat, 1 Oct 2016 07:38:50 +0000 (00:38 -0700)
* fixes flo/mako sensors

Change-Id: Ic9327ed627b64aafc6a41db45dcb4d28e585c580

libc/Android.mk

index e8775ae..251b1b4 100644 (file)
@@ -628,6 +628,10 @@ ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),mips mips64))
   use_clang := false
 endif
 
+ifeq ($(TARGET_NEEDS_GCC_LIBC),true)
+  use_clang := false
+endif
+
 ifeq ($(use_clang),)
   use_clang := true
 endif