* [Buildroot] [PATCH] libpcap: fix sparc64 build, -fPIC required
@ 2015-11-03 17:17 Waldemar Brodkorb
2015-11-03 18:56 ` Baruch Siach
2015-11-03 19:51 ` Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Waldemar Brodkorb @ 2015-11-03 17:17 UTC (permalink / raw)
To: buildroot
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 <wbx@openadk.org>
---
package/libpcap/libpcap.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/libpcap/libpcap.mk b/package/libpcap/libpcap.mk
index eb21fa9..e6dacc8 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 needs -fPIC instead of -fpic
+ifeq ($(BR2_microblaze)$(BR2_sparc64),y)
LIBPCAP_CFLAGS += -fPIC
endif
--
1.7.10.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] libpcap: fix sparc64 build, -fPIC required
2015-11-03 17:17 [Buildroot] [PATCH] libpcap: fix sparc64 build, -fPIC required Waldemar Brodkorb
@ 2015-11-03 18:56 ` Baruch Siach
2015-11-03 19:51 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Baruch Siach @ 2015-11-03 18:56 UTC (permalink / raw)
To: buildroot
Hi Waldemar,
On Tue, Nov 03, 2015 at 06:17:35PM +0100, Waldemar Brodkorb wrote:
> -# microblaze needs -fPIC instead of -fpic
> -ifeq ($(BR2_microblaze),y)
> +# microblaze/sparc64 needs -fPIC instead of -fpic
s/needs/need/
> +ifeq ($(BR2_microblaze)$(BR2_sparc64),y)
> LIBPCAP_CFLAGS += -fPIC
> endif
baruch
--
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 -
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] libpcap: fix sparc64 build, -fPIC required
2015-11-03 17:17 [Buildroot] [PATCH] libpcap: fix sparc64 build, -fPIC required Waldemar Brodkorb
2015-11-03 18:56 ` Baruch Siach
@ 2015-11-03 19:51 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2015-11-03 19:51 UTC (permalink / raw)
To: buildroot
Dear Waldemar Brodkorb,
On Tue, 3 Nov 2015 18:17:35 +0100, Waldemar Brodkorb wrote:
> 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 <wbx@openadk.org>
> ---
> package/libpcap/libpcap.mk | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied after s/needs/need/ as noticed by Baruch, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-11-03 19:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-03 17:17 [Buildroot] [PATCH] libpcap: fix sparc64 build, -fPIC required Waldemar Brodkorb
2015-11-03 18:56 ` Baruch Siach
2015-11-03 19:51 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.