summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-08-08 02:45:43 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-08-08 02:45:43 +0200
commite67104a6a778f70bd479e737b09eb32c835e250e (patch)
tree8cfe327284ceacb22e4758305705bbce54d72cd4
parentMerge "Fix recovery image build." (diff)
parentUse CPPFLAGS instead of CFLAGS. (diff)
downloadandroid_bootable_recovery-e67104a6a778f70bd479e737b09eb32c835e250e.tar
android_bootable_recovery-e67104a6a778f70bd479e737b09eb32c835e250e.tar.gz
android_bootable_recovery-e67104a6a778f70bd479e737b09eb32c835e250e.tar.bz2
android_bootable_recovery-e67104a6a778f70bd479e737b09eb32c835e250e.tar.lz
android_bootable_recovery-e67104a6a778f70bd479e737b09eb32c835e250e.tar.xz
android_bootable_recovery-e67104a6a778f70bd479e737b09eb32c835e250e.tar.zst
android_bootable_recovery-e67104a6a778f70bd479e737b09eb32c835e250e.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