From 5e0582451a13115584771e3106bacebbfc1af59d Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 10 Jan 2014 17:35:26 +0200 Subject: [PATCH] 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. --- android/Makefile.am | 4 ++-- 1 file 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 -- 2.47.3