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