aboutsummaryrefslogtreecommitdiff
path: root/package/libpcap/libpcap.mk
diff options
context:
space:
mode:
authorGravatar Waldemar Brodkorb <wbx@openadk.org>2017-02-26 11:51:27 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-02-26 14:26:52 +0100
commitbe8177fcea62a3ea1a3c3e870b0da3b600f092ce (patch)
tree58ad70b0e7b6b1c8aeb54d1678240f2c3f57d4e1 /package/libpcap/libpcap.mk
parent021f95a2a43b9d3e765856ab9eb5e8d5af5a3dcd (diff)
downloadbuildroot-be8177fcea62a3ea1a3c3e870b0da3b600f092ce.tar.gz
buildroot-be8177fcea62a3ea1a3c3e870b0da3b600f092ce.tar.bz2
libpcap: sparc needs -fPIC as sparc64/microblaze
Fixes nmap build for sparc. Fixes: http://autobuild.buildroot.net/results/8e476939f1daaa20c316dbd0508fa343034f2397 Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libpcap/libpcap.mk')
-rw-r--r--package/libpcap/libpcap.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/libpcap/libpcap.mk b/package/libpcap/libpcap.mk
index 2583087953..505e2abe3d 100644
--- a/package/libpcap/libpcap.mk
+++ b/package/libpcap/libpcap.mk
@@ -53,8 +53,8 @@ else
LIBPCAP_CONF_OPTS += --without-libnl
endif
-# microblaze/sparc64 need -fPIC instead of -fpic
-ifeq ($(BR2_microblaze)$(BR2_sparc64),y)
+# microblaze/sparc/sparc64 need -fPIC instead of -fpic
+ifeq ($(BR2_microblaze)$(BR2_sparc)$(BR2_sparc64),y)
LIBPCAP_CFLAGS += -fPIC
endif