From 437d0433d36fd2e81ea9a2fd2d5018bf56e3df8e Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Thu, 12 May 2022 16:42:47 +0300 Subject: [PATCH] package/pciutils: requires C99 Since version 3.8.0 pciutils requires C99 toolchain as documented in its README file. Use the gnu99 variant because the code requires the GNU extended getopt(3) and the 'asm' keyword. Fixes: http://autobuild.buildroot.net/results/1c9988105b64594185a4002ca046aec8b87ea141/ Signed-off-by: Baruch Siach Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pciutils/pciutils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pciutils/pciutils.mk b/package/pciutils/pciutils.mk index c1445968b9..140276dbc4 100644 --- a/package/pciutils/pciutils.mk +++ b/package/pciutils/pciutils.mk @@ -13,7 +13,7 @@ PCIUTILS_LICENSE_FILES = COPYING PCIUTILS_MAKE_OPTS = \ CROSS_COMPILE="$(TARGET_CROSS)" \ HOST="$(NORMALIZED_ARCH)-linux" \ - OPT="$(TARGET_CFLAGS)" \ + OPT="$(TARGET_CFLAGS) -std=gnu99" \ LDFLAGS="$(TARGET_LDFLAGS)" \ DNS=no \ STRIP=