[Olsr-dev] compile error on native ARMv7 / Ubuntu15.04
Henning Rogge
(spam-protected)
Mon Nov 9 10:18:41 CET 2015
We could add it generally,
but this conditional addition based on cpuinfo feels wrong.
Henning
On Mon, Nov 9, 2015 at 10:17 AM, Ferry Huberts <(spam-protected)> wrote:
> IMHO it is a good idea to add it always
>
> On 09/11/15 10:15, Henning Rogge wrote:
>>
>> On Mon, Nov 9, 2015 at 9:58 AM, Bastian Bittorf <(spam-protected)>
>> wrote:
>>>
>>> * Ferry Huberts <(spam-protected)> [09.11.2015 08:34]:
>>>>
>>>> 0.6 is no longer supported.
>>>> Use the 0.9 release train.
>>>
>>>
>>> good point! i just used an old internal "copy&paste" howto.
>>> can we please have a
>>>
>>> http://www.olsr.org/releases/0.9/latest.tar.bz2
>>> and
>>> http://www.olsr.org/releases/latest.tar.bz2
>>>
>>> because of the compile problem on Arm,
>>> this fixes it for me, hast someboy a better
>>> idea how to deal with it?:
>>>
>>> needs_pic := $(shell grep -s '^Features.* thumb ' /proc/cpuinfo)
>>> ifdef needs_pic
>>> CFLAGS += -fPIC
>>> endif
>>
>>
>> Hi Basti,
>>
>> are you sure this is what you want? When you are doing
>> cross-compilation this script would decide to add the -fPIC flag based
>> on the cpuinfo of the HOST where you are compiling.
>>
>> Henning
>>
>
> --
> Ferry Huberts
More information about the Olsr-dev
mailing list