Fix build breakage for missing -Wcpp option on old GCC versions.

Bug: 14416410
Change-Id: Ib30c3739d50d6122b3b4643051c72f2fa4985686
This commit is contained in:
Stephen Hines 2014-10-01 17:16:37 -07:00
parent 64f44b8444
commit 3ea87c33a1
1 changed files with 4 additions and 1 deletions

View File

@ -72,7 +72,10 @@ else
LOCAL_SRC_FILES += fdevent.c
endif
LOCAL_CFLAGS += -O2 -g -DADB_HOST=1 -Wall -Wno-unused-parameter -Wno-error=cpp -Werror
LOCAL_CFLAGS += -O2 -g -DADB_HOST=1 -Wall -Wno-unused-parameter -Werror
ifeq ($(HOST_OS),windows)
LOCAL_CFLAGS += -Wno-error=cpp
endif
LOCAL_CFLAGS += -D_XOPEN_SOURCE -D_GNU_SOURCE
LOCAL_MODULE := adb
LOCAL_MODULE_TAGS := debug