[Buildroot] [PATCH] libtommath: add -fPIC
François Perrad
francois.perrad at gadz.org
Sun May 1 06:49:33 UTC 2016
2016-04-30 20:43 GMT+02:00 Peter Korsgaard <peter at korsgaard.com>:
>>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
>
> > Hello,
> > On Sat, 30 Apr 2016 10:33:07 +0200, Francois Perrad wrote:
> >> fix build with x86_64, see
> >> http://autobuild.buildroot.net/results/212/212469db5dc8399070390603c0fdf7f12b130cda/
> >>
> >> Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
> >> ---
> >> package/libtommath/libtommath.mk | 2 +-
> >> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> > Applied to master, thanks.
>
> Hmm, isn't it a bit odd to build a static library with -fPIC?
>
> But OK, the error message seems to be from trying to link a shared
> library with it.
>
libtommath have a support for shared library via a makefile.shared.
But it is currently broken for cross compilation (bad linking with libtool).
François
> --
> Bye, Peter Korsgaard
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
More information about the buildroot
mailing list