commit 6a287ac3d1fb0cdca48215b6baadd409ee603450
parent 58d8643a42af52768765150861148eeaca2d9b98
Author: Ted Hess <thess@kitschensync.net>
Date: Wed, 19 Aug 2015 13:48:42 -0400
Merge pull request #1668 from plntyk/fix_gcc5_mocp
mocp: fix build with gcc5
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sound/mocp/Makefile b/sound/mocp/Makefile
@@ -40,8 +40,9 @@ endef
TARGET_CFLAGS+=-D_GNU_SOURCE
-define Build/Configure
- $(call Build/Configure/Default, \
+TARGET_CPPFLAGS+=-P
+
+CONFIGURE_ARGS+= \
$(if $(CONFIG_BUILD_PATENTED),,--without-mp3) \
--enable-shared \
--disable-static \
@@ -53,8 +54,7 @@ define Build/Configure
--without-musepack \
--without-rcc \
$(if $(CONFIG_PACKAGE_libncursesw),--with-ncursesw --without-ncurses,--with-ncurses --without-ncursesw) \
- )
-endef
+ --with-bdb-dir="$(STAGING_DIR)/usr"
define Package/moc/install
$(INSTALL_DIR) $(1)/usr/bin