OSDN Git Service
(root)
/
android-x86
/
external-minigbm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e49f05
)
Suppress compile warnings on Android
author
renchenglei
<chenglei.ren@intel.com>
Mon, 30 Oct 2017 05:34:30 +0000
(13:34 +0800)
committer
Kalyan Kondapally
<kalyan.kondapally@intel.com>
Tue, 31 Oct 2017 09:59:36 +0000
(
02:59
-0700)
Jira: None.
Test: Build passes on Android and no warnings reported.
Android.mk
patch
|
blob
|
history
diff --git
a/Android.mk
b/Android.mk
index
26e8561
..
b1c1067
100644
(file)
--- a/
Android.mk
+++ b/
Android.mk
@@
-39,7
+39,9
@@
LOCAL_SRC_FILES := \
include $(MINIGBM_GRALLOC_MK)
-LOCAL_CPPFLAGS += -std=c++14 -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
+LOCAL_CPPFLAGS += -std=c++14 -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 \
+ -Wno-unused-parameter -Wno-switch -Wno-format \
+ -Wno-unused-variable
LOCAL_CFLAGS += -Wall -Wsign-compare -Wpointer-arith \
-Wcast-qual -Wcast-align \
-D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64