Fix build breakage for missing -Wcpp option on old GCC versions.
Bug: 14416410 Change-Id: Ib30c3739d50d6122b3b4643051c72f2fa4985686
This commit is contained in:
parent
64f44b8444
commit
3ea87c33a1
1 changed files with 4 additions and 1 deletions
|
|
@ -72,7 +72,10 @@ else
|
||||||
LOCAL_SRC_FILES += fdevent.c
|
LOCAL_SRC_FILES += fdevent.c
|
||||||
endif
|
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_CFLAGS += -D_XOPEN_SOURCE -D_GNU_SOURCE
|
||||||
LOCAL_MODULE := adb
|
LOCAL_MODULE := adb
|
||||||
LOCAL_MODULE_TAGS := debug
|
LOCAL_MODULE_TAGS := debug
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue