OSDN Git Service

build-sys: Add missing $(AM_CFLAGS) to obexd_src_obexd_CFLAGS
authorSzymon Janc <szymon.janc@tieto.com>
Fri, 4 Oct 2013 09:05:38 +0000 (11:05 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 4 Oct 2013 11:16:35 +0000 (14:16 +0300)
This fix not passing extra build flags when --enable-maintainer-mode
is used.

Makefile.obexd

index d5377cb..3760867 100644 (file)
@@ -85,10 +85,10 @@ obexd_src_obexd_LDADD = lib/libbluetooth-internal.la \
 
 obexd_src_obexd_LDFLAGS = -Wl,--export-dynamic
 
-obexd_src_obexd_CFLAGS = @GLIB_CFLAGS@ @DBUS_CFLAGS@ @ICAL_CFLAGS@ \
-                                       -DOBEX_PLUGIN_BUILTIN \
-                                       -DPLUGINDIR=\""$(obex_plugindir)"\" \
-                                       -fPIC -D_FILE_OFFSET_BITS=64
+obexd_src_obexd_CFLAGS = $(AM_CFLAGS) @GLIB_CFLAGS@ @DBUS_CFLAGS@ \
+                               @ICAL_CFLAGS@ -DOBEX_PLUGIN_BUILTIN \
+                               -DPLUGINDIR=\""$(obex_plugindir)"\" \
+                               -fPIC -D_FILE_OFFSET_BITS=64
 
 obexd_src_obexd_CPPFLAGS = -I$(builddir)/lib -I$(builddir)/obexd/src  \
                                -I$(srcdir)/obexd/src -I$(srcdir)/btio \