uclibc: disable DOPIC on ARM FLAT
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 18 Mar 2016 21:08:09 +0000 (22:08 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 29 Mar 2016 22:15:48 +0000 (00:15 +0200)
commit8c2170c76a27297868b36868bbcf190862a2e817
treef8593e5d18177d6d1d5fea3931cb6a60ad6c2299
parent45d7f014517ef7c71b180f5d726d06517d6658c1
uclibc: disable DOPIC on ARM FLAT

As explained by Waldemar, enabling DOPIC in uClibc will lead to the
creation of a Position Independent library. In turn, this will cause
elf2flt to generate a "Has-PIC-GOT" flat binary, which doesn't work on
ARM. In fact, elf2flt on ARM really expect to have non-PIC code as
input, so we must disable DOPIC in the uClibc configuration.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/uclibc/uclibc.mk