diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-11-03 18:17:35 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-11-03 20:51:28 +0100 |
commit | ae675912b8d4c945cccca1d2acf902860fcc9261 (patch) | |
tree | dd86006dc707dc26ed4d3b39b9ef1752e9b93177 | |
parent | 0708c41ec134f12312de42b88488db2b8612ac19 (diff) | |
download | buildroot-ae675912b8d4c945cccca1d2acf902860fcc9261.tar.gz buildroot-ae675912b8d4c945cccca1d2acf902860fcc9261.zip |
libpcap: fix sparc64 build, -fPIC required
Should fix following autobuilder issues:
http://autobuild.buildroot.net/results/e79353496aa91848c76f15c561efdd84476c20ac/
http://autobuild.buildroot.net/results/a859ecb153838837e9a73b47ed7e1105d6be55ac/
http://autobuild.buildroot.net/results/f2ce1899a1144bec23fb25f4ce36dc78d768f8a8/
[Thomas: s/needs/need/ as suggested by Baruch.]
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/libpcap/libpcap.mk | 4 |
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 |