[Olsr-dev] compile error on native ARMv7 / Ubuntu15.04

Bastian Bittorf (spam-protected)
Mon Nov 9 10:48:13 CET 2015


* Henning Rogge <(spam-protected)> [09.11.2015 10:40]:
> You can use the EXTRA_CPPFLAGS makefile variable to add the compile switch.

ok, this works:
make build_all EXTRA_CFLAGS=-fPIC

> There is no clean way for the host crosscompiler to know what
> parameters your target platform needs.

we can check *if* we do cross-compiling and if
not, set -fPIC - AFAIK this adds more code,
but when compiling native, we "have enough power".

bye, bastian



More information about the Olsr-dev mailing list