On 26 July 2012 08:45, kejun.zhou kejun.zhou@linaro.org wrote:
From: "kejun.zhou" <dp583@stebjsxu0119.(none)>
Signed-off-by: kejun.zhou kejun.zhou@linaro.org
Android.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Android.mk b/Android.mk index c82cd95..fa1c225 100644 --- a/Android.mk +++ b/Android.mk @@ -28,7 +28,9 @@ LOCAL_CPPFLAGS += -DDISABLE_I18N \ -DNCURSES_NOMACROS \ -DHAVE_NO_PCI \ -DDEFAULT_TERM="xterm" \
-DTERMINFO_PATH=\"/system/etc/terminfo\"
-DTERMINFO_PATH=\"/system/etc/terminfo\" \
-fno-exceptions \
-fno-rtti \
I think no-exceptions and no-rtti options are enabled by default in
Android toolchain. Compiler throws "exception handling disabled, use -fexceptions to enable" error when powertop is compiled with exceptions.
Moreover for Android, powertop exception handling is disabled through DISABLE_TRYCATCH macro which is set in Android.mk.
LOCAL_C_INCLUDES += external/stlport/stlport/ \ external/stlport/stlport/stl \ -- 1.7.10