am 490f03d5: am 3ea87c33: Fix build breakage for missing -Wcpp option on old GCC versions.

* commit '490f03d560e873ad73f964815ca109381efec147':
  Fix build breakage for missing -Wcpp option on old GCC versions.
This commit is contained in:
Stephen Hines 2014-10-02 00:36:09 +00:00 committed by Android Git Automerger
commit 541a780454

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