aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 eb21fa9797..4c7a66c09d 100644
--- a/package/libpcap/libpcap.mk
+++ b/package/libpcap/libpcap.mk
@@ -55,8 +55,8 @@ else
LIBPCAP_CONF_OPTS += --without-libnl
endif
-# microblaze needs -fPIC instead of -fpic
-ifeq ($(BR2_microblaze),y)
+# microblaze/sparc64 need -fPIC instead of -fpic
+ifeq ($(BR2_microblaze)$(BR2_sparc64),y)
LIBPCAP_CFLAGS += -fPIC
endif