From: Waldemar Brodkorb Date: Sun, 26 Feb 2017 10:51:27 +0000 (+0100) Subject: libpcap: sparc needs -fPIC as sparc64/microblaze X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=be8177fcea62a3ea1a3c3e870b0da3b600f092ce;p=buildroot.git libpcap: sparc needs -fPIC as sparc64/microblaze Fixes nmap build for sparc. Fixes: http://autobuild.buildroot.net/results/8e476939f1daaa20c316dbd0508fa343034f2397 Signed-off-by: Waldemar Brodkorb Signed-off-by: Thomas Petazzoni --- 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