From b3526e1ee8b97e9909d380ffcc2f68ce6a083cc9 Mon Sep 17 00:00:00 2001 From: SzuWei Lin Date: Wed, 10 May 2017 18:15:03 +0800 Subject: [PATCH] Fix build error when (ADB|FASTBOOT)_VERSION has space Test: make, and build pass Change-Id: I8fc608a5b8bccb43b8af72978ce16a945147f62d --- adb/Android.mk | 2 +- fastboot/Android.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/adb/Android.mk b/adb/Android.mk index ca337ee87..6bfc50316 100644 --- a/adb/Android.mk +++ b/adb/Android.mk @@ -15,7 +15,7 @@ ADB_COMMON_CFLAGS := \ -Wno-unused-parameter \ -Wno-missing-field-initializers \ -Wvla \ - -DADB_VERSION=\"$(tool_version)\" \ + -DADB_VERSION="\"$(tool_version)\"" ADB_COMMON_posix_CFLAGS := \ -Wexit-time-destructors \ diff --git a/fastboot/Android.mk b/fastboot/Android.mk index 4d54175d6..80def732c 100644 --- a/fastboot/Android.mk +++ b/fastboot/Android.mk @@ -18,7 +18,7 @@ include $(LOCAL_PATH)/../platform_tools_tool_version.mk include $(CLEAR_VARS) -LOCAL_CFLAGS += -DFASTBOOT_VERSION=\"$(tool_version)\" +LOCAL_CFLAGS += -DFASTBOOT_VERSION="\"$(tool_version)\"" LOCAL_C_INCLUDES := \ $(LOCAL_PATH)/../adb \