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>
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