summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-08-08 04:50:57 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-08-08 04:50:57 +0200
commit07c8bb24df510bffc3d38a87285cf2fe82398809 (patch)
treebc6ee6140e67c355e1a05805fd8fc27636a404dd
parentam 2496489c: am a9390df6: am 06689dc5: Merge "Fix recovery image build." (diff)
parentam 236b3eb6: am e67104a6: Merge "Use CPPFLAGS instead of CFLAGS." (diff)
downloadandroid_bootable_recovery-07c8bb24df510bffc3d38a87285cf2fe82398809.tar
android_bootable_recovery-07c8bb24df510bffc3d38a87285cf2fe82398809.tar.gz
android_bootable_recovery-07c8bb24df510bffc3d38a87285cf2fe82398809.tar.bz2
android_bootable_recovery-07c8bb24df510bffc3d38a87285cf2fe82398809.tar.lz
android_bootable_recovery-07c8bb24df510bffc3d38a87285cf2fe82398809.tar.xz
android_bootable_recovery-07c8bb24df510bffc3d38a87285cf2fe82398809.tar.zst
android_bootable_recovery-07c8bb24df510bffc3d38a87285cf2fe82398809.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