kumquat-buildroot/package/attr/attr.mk
Giulio Benetti 4b34b8ccfa package/attr: fix build failure on Microblaze architecture
On Microblaze architecture __has_attribute(__symver__) support is broken
and always return true even if symver is not supported so let's add an
upstream patch to detect if symver is supported during autoreconf. Let's
also add ATTR_AUTORECONF = YES to let patch to affect building.

Fixes:
http://autobuild.buildroot.org/results/29c76e02becedf922bd7dc0533338c078bf77d2a

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-02-18 21:12:15 +01:00

23 lines
634 B
Makefile

################################################################################
#
# attr
#
################################################################################
ATTR_VERSION = 2.5.2
ATTR_SOURCE = attr-$(ATTR_VERSION).tar.xz
ATTR_SITE = http://download.savannah.gnu.org/releases/attr
ATTR_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (libraries)
ATTR_LICENSE_FILES = doc/COPYING doc/COPYING.LGPL
ATTR_CPE_ID_VALID = YES
# Flag added for patch dealing with symver in configure.ac
ATTR_AUTORECONF = YES
ATTR_INSTALL_STAGING = YES
ATTR_CONF_OPTS = --disable-nls
$(eval $(autotools-package))
$(eval $(host-autotools-package))