From 09574f2564d8bf30074c0a757b2ea55b47aaae47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20P=C3=B6tzsch?= Date: Tue, 18 Aug 2026 12:31:33 +0200 Subject: [PATCH] utils::pciutils: don't overwrite CFLAGS on the commandline Actually we want to append Bob's CFLAGS to the build, not overwrite it completely. The Makefile defines OPT for that reason. Use it instead. Overwriting CFLAGS would through away -fPIC and friends when compiling the shared library. --- recipes/utils/pciutils.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/utils/pciutils.yaml b/recipes/utils/pciutils.yaml index 823f979c..924ec81d 100644 --- a/recipes/utils/pciutils.yaml +++ b/recipes/utils/pciutils.yaml @@ -37,7 +37,7 @@ buildScript: | ${AUTOCONF_HOST:+HOST="${AUTOCONF_HOST}"} \ STRIP= \ CC="$CC" \ - CFLAGS="$CFLAGS" \ + OPT="$CFLAGS" \ LDFLAGS="$LDFLAGS" \ DNS=no \ ZLIB=yes \