From: Peter Korsgaard Date: Mon, 4 Jan 2016 20:47:37 +0000 (+0100) Subject: pciutils: correct dns disabling logic X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=85e2a87699f4f98d1b669576922581ae3bcac004;p=buildroot.git pciutils: correct dns disabling logic Fixes #8581 Commit 2c879f95a0 (pciutils: cleanup) refactored the make arguments, but accidently changed the logic to disable dns based lookups to pass PCIUTILS_DNS=no instead of DNS=no, causing the autotection to be used. This autodetection looks at host includes, so it isn't safe for cross compilation. Disable it by setting the correct make variable instead. Signed-off-by: Peter Korsgaard --- diff --git a/package/pciutils/pciutils.mk b/package/pciutils/pciutils.mk index 24f250eaa9..d3a0e2072c 100644 --- a/package/pciutils/pciutils.mk +++ b/package/pciutils/pciutils.mk @@ -17,7 +17,7 @@ PCIUTILS_MAKE_OPTS = \ LDFLAGS="$(TARGET_LDFLAGS)" \ RANLIB=$(TARGET_RANLIB) \ AR=$(TARGET_AR) \ - PCIUTILS_DNS=no + DNS=no ifeq ($(BR2_PACKAGE_HAS_UDEV),y) PCIUTILS_DEPENDENCIES += udev