OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f8e15c
)
android: Suppress compiler warnings not used in autotools build
author
Szymon Janc
<szymon.janc@tieto.com>
Tue, 29 Oct 2013 15:23:38 +0000
(16:23 +0100)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Wed, 30 Oct 2013 10:09:05 +0000
(12:09 +0200)
Android build system is enabling some additional warnings that are not
enabled when building with autotools. This avoids spurious warnings
while building on Android.
android/Android.mk
patch
|
blob
|
history
diff --git
a/android/Android.mk
b/android/Android.mk
index
c88b27e
..
fc1b276
100644
(file)
--- a/
android/Android.mk
+++ b/
android/Android.mk
@@
-9,6
+9,9
@@
pathmap_INCL += glib:external/bluetooth/glib
# Specify common compiler flags
BLUEZ_COMMON_CFLAGS := -DVERSION=\"$(BLUEZ_VERSION)\"
+# Disable warnings enabled by Android but not enabled in autotools build
+BLUEZ_COMMON_CFLAGS += -Wno-pointer-arith
+
#
# Android BlueZ daemon (bluetoothd)
#