summaryrefslogtreecommitdiff
path: root/package/pciutils
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2016-01-04 21:47:37 +0100
committerPeter Korsgaard <peter@korsgaard.com>2016-01-04 21:55:07 +0100
commit85e2a87699f4f98d1b669576922581ae3bcac004 (patch)
treef06dee0b325e50d9dc0af369e327874c1c937680 /package/pciutils
parentaf2de9e6628c16f50ce5888a6ff7068977129fd6 (diff)
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 <peter@korsgaard.com>
Diffstat (limited to 'package/pciutils')
-rw-r--r--package/pciutils/pciutils.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pciutils/pciutils.mk b/package/pciutils/pciutils.mk
index 24f250eaa..d3a0e2072 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