buildroot/package/inih/inih.mk
Fabrice Fontaine bfa4dd299f package/inih: bump to version 58
This bump will fix the following build failure with gcc 5 raised since
bump to version 57 in commit 65c8a9b662
thanks to
4e618f77d4:

In file included from /home/buildroot/autobuild/run/instance-1/output-1/host/opt/ext-toolchain/mips-linux-gnu/include/c++/5.3.0/cstdint:35:0,
                 from ../cpp/INIReader.h:17,
                 from ../cpp/INIReader.cpp:16:
/home/buildroot/autobuild/run/instance-1/output-1/host/opt/ext-toolchain/mips-linux-gnu/include/c++/5.3.0/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support for the \
  ^

https://github.com/benhoyt/inih/releases/tag/r58

Fixes: 65c8a9b662
 - http://autobuild.buildroot.org/results/7a5ba516cde536e103669a0422d336dd8a3b1dbc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-04-07 21:34:26 +02:00

21 lines
529 B
Makefile

################################################################################
#
# inih
#
################################################################################
INIH_VERSION = 58
INIH_SITE = $(call github,benhoyt,inih,r$(INIH_VERSION))
INIH_INSTALL_STAGING = YES
INIH_LICENSE = BSD-3-Clause
INIH_LICENSE_FILES = LICENSE.txt
INIH_CONF_OPTS = -Ddistro_install=true
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
INIH_CONF_OPTS += -Dwith_INIReader=true
else
INIH_CONF_OPTS += -Dwith_INIReader=false
endif
$(eval $(meson-package))