summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-08-08 02:24:49 +0200
committerDan Albert <danalbert@google.com>2015-08-08 02:24:49 +0200
commitb02e90f85cb60a6de0ff93147e988c10c4cf213a (patch)
tree8cfe327284ceacb22e4758305705bbce54d72cd4
parentMerge "Fix recovery image build." (diff)
downloadandroid_bootable_recovery-b02e90f85cb60a6de0ff93147e988c10c4cf213a.tar
android_bootable_recovery-b02e90f85cb60a6de0ff93147e988c10c4cf213a.tar.gz
android_bootable_recovery-b02e90f85cb60a6de0ff93147e988c10c4cf213a.tar.bz2
android_bootable_recovery-b02e90f85cb60a6de0ff93147e988c10c4cf213a.tar.lz
android_bootable_recovery-b02e90f85cb60a6de0ff93147e988c10c4cf213a.tar.xz
android_bootable_recovery-b02e90f85cb60a6de0ff93147e988c10c4cf213a.tar.zst
android_bootable_recovery-b02e90f85cb60a6de0ff93147e988c10c4cf213a.zip
-rw-r--r--edify/Android.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/edify/Android.mk b/edify/Android.mk
index c36645045..eb366c287 100644
--- a/edify/Android.mk
+++ b/edify/Android.mk
@@ -21,10 +21,10 @@ LOCAL_SRC_FILES := \
$(edify_src_files) \
main.c
-LOCAL_CFLAGS := $(edify_cflags) -g -O0
+LOCAL_CPPFLAGS := $(edify_cflags) -g -O0
LOCAL_MODULE := edify
LOCAL_YACCFLAGS := -v
-LOCAL_CFLAGS += -Wno-unused-parameter
+LOCAL_CPPFLAGS += -Wno-unused-parameter
LOCAL_CLANG := true
include $(BUILD_HOST_EXECUTABLE)
@@ -36,8 +36,8 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(edify_src_files)
-LOCAL_CFLAGS := $(edify_cflags)
-LOCAL_CFLAGS += -Wno-unused-parameter
+LOCAL_CPPFLAGS := $(edify_cflags)
+LOCAL_CPPFLAGS += -Wno-unused-parameter
LOCAL_MODULE := libedify
LOCAL_CLANG := true