kumquat-buildroot/package/mbuffer/mbuffer.mk
Fabrice Fontaine c60148d846 package/mbuffer: fix build with c89 or c99
Fixes:
 - http://autobuild.buildroot.org/results/5f4e9079b3377a869ec7002a8138b80eb6194bbb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-04-21 21:37:50 +02:00

22 lines
675 B
Makefile

################################################################################
#
# mbuffer
#
################################################################################
MBUFFER_VERSION = 20191016
MBUFFER_SOURCE = mbuffer-$(MBUFFER_VERSION).tgz
MBUFFER_SITE = http://www.maier-komor.de/software/mbuffer
MBUFFER_LICENSE = GPL-3.0+
MBUFFER_LICENSE_FILES = LICENSE
MBUFFER_CONF_OPTS = --disable-debug
MBUFFER_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=c99"
# We're patching configure.in
MBUFFER_AUTORECONF = YES
# we don't need tests & co. so we specify a target
# so that the others don't get built, e.g idev.so
MBUFFER_MAKE_OPTS += mbuffer
$(eval $(autotools-package))