package/olsr: needs -fPIC to avoid build failure
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Mon, 20 Jan 2020 14:51:47 +0000 (15:51 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 3 Feb 2020 10:24:26 +0000 (11:24 +0100)
commit812690fe7b7eeb1bf28b6ad4bae3d5f76b3bc050
treea77ca0d332f713f6bf608fc8e0ecd56fd59413dc
parent9756f6a7ac8a4aa962786bbf800fa77594424b68
package/olsr: needs -fPIC to avoid build failure

When building on Arc, Microblaze, Riscv32, Riscv64, package olsr needs
to be compiled with -fPIC, so append -fPIC to CFLAGS when invoking make
by default, since it seems to be mandatory in general and it's harmless
for other architectures.

Fixes:
http://autobuild.buildroot.net/results/9d6/9d6d69133789aba16daeb6dc53721597e6be9806/
http://autobuild.buildroot.net/results/b85/b85d27b3a4bab5d68460401ff49e624177d55afa/
http://autobuild.buildroot.net/results/0d3/0d3489b14f4f4f0d4837d00209b5c1ee8d6f6a98/
http://autobuild.buildroot.net/results/d9a/d9a143c8e9a175741acfafd17b63544d04744ac9/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/olsr/olsr.mk