summaryrefslogtreecommitdiffstats
path: root/edify
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-08-08 02:56:58 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-08-08 02:56:58 +0200
commitc2e91625a7333ae993bab4c7069f25c2e9ecc8d3 (patch)
tree51d884bf6c736c5dfb897b4a61d5279cdaf101b9 /edify
parentam a9390df6: am 06689dc5: Merge "Fix recovery image build." (diff)
parentam e67104a6: Merge "Use CPPFLAGS instead of CFLAGS." (diff)
downloadandroid_bootable_recovery-c2e91625a7333ae993bab4c7069f25c2e9ecc8d3.tar
android_bootable_recovery-c2e91625a7333ae993bab4c7069f25c2e9ecc8d3.tar.gz
android_bootable_recovery-c2e91625a7333ae993bab4c7069f25c2e9ecc8d3.tar.bz2
android_bootable_recovery-c2e91625a7333ae993bab4c7069f25c2e9ecc8d3.tar.lz
android_bootable_recovery-c2e91625a7333ae993bab4c7069f25c2e9ecc8d3.tar.xz
android_bootable_recovery-c2e91625a7333ae993bab4c7069f25c2e9ecc8d3.tar.zst
android_bootable_recovery-c2e91625a7333ae993bab4c7069f25c2e9ecc8d3.zip
Diffstat (limited to 'edify')
-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