mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
mocp: fix build with gcc5
change in default CPP settings lead to build errors explicitly set flag to enable old behaviour Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
This commit is contained in:
+4
-4
@@ -40,8 +40,9 @@ endef
|
|||||||
|
|
||||||
TARGET_CFLAGS+=-D_GNU_SOURCE
|
TARGET_CFLAGS+=-D_GNU_SOURCE
|
||||||
|
|
||||||
define Build/Configure
|
TARGET_CPPFLAGS+=-P
|
||||||
$(call Build/Configure/Default, \
|
|
||||||
|
CONFIGURE_ARGS+= \
|
||||||
$(if $(CONFIG_BUILD_PATENTED),,--without-mp3) \
|
$(if $(CONFIG_BUILD_PATENTED),,--without-mp3) \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
@@ -53,8 +54,7 @@ define Build/Configure
|
|||||||
--without-musepack \
|
--without-musepack \
|
||||||
--without-rcc \
|
--without-rcc \
|
||||||
$(if $(CONFIG_PACKAGE_libncursesw),--with-ncursesw --without-ncurses,--with-ncurses --without-ncursesw) \
|
$(if $(CONFIG_PACKAGE_libncursesw),--with-ncursesw --without-ncurses,--with-ncurses --without-ncursesw) \
|
||||||
)
|
--with-bdb-dir="$(STAGING_DIR)/usr"
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/moc/install
|
define Package/moc/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
|
|||||||
Reference in New Issue
Block a user