summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2014-02-28 18:24:43 +0100
committerDees Troy <dees_troy@teamw.in>2014-02-28 18:59:04 +0100
commit4159aedfaa35e9a41ba9478b7bb00f661c6646d3 (patch)
treecdc9caa6ba475f7bf520c19161b6d872c3b38631 /Android.mk
parentMerge "Check crypto footer before offering to decrypt" into android-4.4 (diff)
downloadandroid_bootable_recovery-4159aedfaa35e9a41ba9478b7bb00f661c6646d3.tar
android_bootable_recovery-4159aedfaa35e9a41ba9478b7bb00f661c6646d3.tar.gz
android_bootable_recovery-4159aedfaa35e9a41ba9478b7bb00f661c6646d3.tar.bz2
android_bootable_recovery-4159aedfaa35e9a41ba9478b7bb00f661c6646d3.tar.lz
android_bootable_recovery-4159aedfaa35e9a41ba9478b7bb00f661c6646d3.tar.xz
android_bootable_recovery-4159aedfaa35e9a41ba9478b7bb00f661c6646d3.tar.zst
android_bootable_recovery-4159aedfaa35e9a41ba9478b7bb00f661c6646d3.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index c6c7f3c40..013e4e1b5 100644
--- a/Android.mk
+++ b/Android.mk
@@ -272,6 +272,9 @@ ifeq ($(TARGET_RECOVERY_QCOM_RTC_FIX),)
else ifeq ($(TARGET_RECOVERY_QCOM_RTC_FIX),true)
LOCAL_CFLAGS += -DQCOM_RTC_FIX
endif
+ifneq ($(wildcard bionic/libc/include/sys/capability.h),)
+ LOCAL_CFLAGS += -DHAVE_CAPABILITIES
+endif
include $(BUILD_EXECUTABLE)