summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-01-10 17:35:26 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2014-01-10 17:45:17 +0200
commit5e0582451a13115584771e3106bacebbfc1af59d (patch)
treebe649c8c1e4b9896d1a5ea3602fbe469b7f4c599 /android
parent518f1bdb15c970dc1ab49b9878b23bd0cc48ab9b (diff)
android: Fix not using AM_CFLAGS in the HAL modules
Both bluetooth.audio.so and audio.a2dp.default.so should use AM_CFLAGS ortherwise some quite obvious errors that otherwise would break the build may be pushed upstream.
Diffstat (limited to 'android')
-rw-r--r--android/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/Makefile.am b/android/Makefile.am
index 87676cd14..a3ee148e9 100644
--- a/android/Makefile.am
+++ b/android/Makefile.am
@@ -66,7 +66,7 @@ android_bluetooth_default_la_SOURCES = android/hal.h android/hal-bluetooth.c \
android/hal-ipc.h android/hal-ipc.c \
android/hal-utils.h android/hal-utils.c
-android_bluetooth_default_la_CPPFLAGS = -I$(srcdir)/android \
+android_bluetooth_default_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/android \
-DPLATFORM_SDK_VERSION=19
android_bluetooth_default_la_LDFLAGS = $(AM_LDFLAGS) -module -avoid-version \
-no-undefined
@@ -128,7 +128,7 @@ android_audio_a2dp_default_la_SOURCES = android/audio-msg.h \
android/hardware/hardware.h \
android/system/audio.h
-android_audio_a2dp_default_la_CFLAGS = -I$(srcdir)/android
+android_audio_a2dp_default_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/android
android_audio_a2dp_default_la_LDFLAGS = $(AM_LDFLAGS) -module -avoid-version \
-no-undefined -pthread