kumquat-buildroot/package/tllist/tllist.mk
Fabrice Fontaine a9ccdc1170 package/tllist: fix build with gcc 4.8
Fix the following build failure with gcc 4.8 raised since the addition
of the package in commit 996b786cfc:

In file included from ../test.c:7:0:
../test.c: In function 'main':
../tllist.h:213:17: error: 'for' loop initial declarations are only allowed in C99 mode
                 for (int _i = 0; _i < __insize; _i++) {                 \
                 ^

Fixes: 996b786cfc
 - http://autobuild.buildroot.org/results/e82fdf4f9ef199e1baa169d38a75872bddd4e6dd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-03-04 22:48:51 +01:00

18 lines
485 B
Makefile

################################################################################
#
# tllist
#
################################################################################
TLLIST_VERSION = 1.1.0
TLLIST_SOURCE = $(TLLIST_VERSION).tar.gz
TLLIST_SITE = https://codeberg.org/dnkl/tllist/archive
TLLIST_LICENSE = MIT
TLLIST_LICENSE_FILES = LICENSE
# header only
TLLIST_INSTALL_TARGET = NO
TLLIST_INSTALL_STAGING = YES
TLLIST_CFLAGS = $(TARGET_CFLAGS) -std=c99
$(eval $(meson-package))