diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2016-04-20 18:28:29 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2016-04-20 18:28:29 +0800 |
commit | 7201b48d6258a267088e28276d3ee9cbf48a7e7a (patch) | |
tree | 816a38cdd10b93333449862efc9dde1924a91675 | |
parent | b210d919c61127ca708c8dd117633ac2665f6db9 (diff) | |
download | powertop-2.0-RLCR-16.11.tar.gz |
Android.mK: fix compiling error with clangRLCR-16.11linaro-n-previewRLCR-16.09
To fix the problem below about __DATE__:
external/powertop/src/main.cpp:103:65: error: expansion of date or time macro is not reproducible [-Werror,-Wdate-time]
printf(_("PowerTOP version " POWERTOP_VERSION ", compiled on " __DATE__ "\n"));
Change-Id: I38d94994ccb07a22df01bd378d31c357f50e0b51
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rw-r--r-- | Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -15,6 +15,8 @@ LOCAL_MODULE := powertop LOCAL_CFLAGS += -fexceptions -DHAVE_LIBNL20 LOCAL_CPPFLAGS += -DPACKAGE_VERSION=\"2.8\" -DPACKAGE=powertop -DHAVE_LIBNL20 -DHAVE_NO_PCI +LOCAL_CFLAGS += -Wno-error=date-time + LOCAL_C_INCLUDES += bionic external/libnl/include/ # ncurses |