libpcap: fix sparc64 build, -fPIC required
PATCH 1/1 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/
--- package/libpcap/libpcap.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/libpcap/libpcap.mk +2 -2
@@ -55,8 +55,8 @@ else LIBPCAP_CONF_OPTS += --without-libnl endif -# microblaze needs -fPIC instead of -fpic -ifeq ($(BR2_microblaze),y) +# microblaze/sparc64 needs -fPIC instead of -fpic +ifeq ($(BR2_microblaze)$(BR2_sparc64),y) LIBPCAP_CFLAGS += -fPIC endif
Signature · 1 line
1.7.10.4
PATCH 1/1 libpcap: fix sparc64 build, -fPIC required
Hi Waldemar,
package/libpcap/libpcap.mk else · line 58
Quoted 3 lines · Waldemar Brodkorb
package/libpcap/libpcap.mk +1
-2-# microblaze needs -fPIC instead of -fpic -ifeq ($(BR2_microblaze),y) +# microblaze/sparc64 needs -fPIC instead of -fpic
s/needs/need/
Quoted 3 lines
+ifeq ($(BR2_microblaze)$(BR2_sparc64),y)
LIBPCAP_CFLAGS+= -fPIC
endif
baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -PATCH 1/1 libpcap: fix sparc64 build, -fPIC required
In reply to Waldemar BrodkorbDear Waldemar Brodkorb,
Quoted 9 lines · Waldemar Brodkorb
Should fix following autobuilder issues:
http://autobuild.buildroot.net/results/e79353496aa91848c76f15c561efdd84476c20ac/
http://autobuild.buildroot.net/results/a859ecb153838837e9a73b47ed7e1105d6be55ac/
http://autobuild.buildroot.net/results/f2ce1899a1144bec23fb25f4ce36dc78d768f8a8/Signed-off-by Waldemar Brodkorb <[email protected]>--- package/libpcap/libpcap.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Applied after s/needs/need/ as noticed by Baruch, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com