OSDN Git Service

Force clang for bionic
authorColin Cross <ccross@android.com>
Wed, 18 May 2016 21:06:22 +0000 (14:06 -0700)
committerColin Cross <ccross@android.com>
Wed, 18 May 2016 21:06:22 +0000 (14:06 -0700)
Bionic will only compile with clang, and Android.mk files force clang,
turn it on in Android.bp.

Change-Id: I9db06298adfeab4eeef031d88aa310776cad3af0

libc/Android.bp

index 2c393c3..4ffe72d 100644 (file)
@@ -76,6 +76,7 @@ cc_defaults {
         never: true,
     },
     native_coverage: false,
+    clang: true,
 }
 
 // ANDROIDMK TRANSLATION ERROR: unsupported directive