Browse Source

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>
lilik-openwrt-22.03
Dirk Neukirchen 10 years ago
parent
commit
79e2e32c27
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      sound/mocp/Makefile

+ 4
- 4
sound/mocp/Makefile View File

@ -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


Loading…
Cancel
Save