OSDN Git Service

Always use clang for iotop.
authorDan Albert <danalbert@google.com>
Mon, 26 Oct 2015 18:24:47 +0000 (11:24 -0700)
committerDan Albert <danalbert@google.com>
Mon, 26 Oct 2015 18:24:47 +0000 (11:24 -0700)
iotop makes use of a lambda that uses an `auto` typedef parameter.
This is a C++14 feature, and we need to move GCC back to C++11 because
GCC 4.9 doesn't have a correct C++14 ABI.

Bug: http://b/25022512
Change-Id: I3946bd3d287c99eeee1d570ea46e073828b5c1d2

iotop/Android.mk

index b8a146d..414967c 100644 (file)
@@ -15,6 +15,8 @@
 LOCAL_PATH:= $(call my-dir)
 include $(CLEAR_VARS)
 
+LOCAL_CLANG := true
+
 LOCAL_SRC_FILES := iotop.cpp tasklist.cpp taskstats.cpp
 
 LOCAL_MODULE := iotop