[Buildroot] [PATCH] bzip2: Rearrange build order

Peter Korsgaard jacmet at uclibc.org
Wed Jun 5 21:56:52 UTC 2013


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

Hi,

 Thomas> In fact, I hadn't realized that libtool was building each and
 Thomas> every .c file twice, once without -fPIC for the static library,
 Thomas> and once with -fPIC for the shared library.

 Thomas> I believe we have three choices:

Yes, like we discussed on IRC I think we need to end up with 3 options:

- Build only shared libraries (default)
- Build only static libraries (BR2_PREFER_STATIC_LIB)
- Build both, and prefer shared libraries (what we have today)

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list