libspatialindex: fix build on Microblaze
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 14 Aug 2017 21:40:59 +0000 (23:40 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 15 Aug 2017 16:03:55 +0000 (18:03 +0200)
commitc5299a7dd02a1ba74b6e089a428d0de720091e17
tree9fe4418e4b709801b2dc281df8b2ec9a744a92dd
parent8a26adddde1e924236553584a5623485fdc90c7f
libspatialindex: fix build on Microblaze

This commit fixes the build of libspatialindex on the Microblaze
architecture by working around a gcc bug, by passing -O0 as the
optimization level.

A patch to configure.ac is needed to not have -O2 be forced by the
libspatialindex build system, and therefore AUTORECONF=YES is now
needed.

Fixes:

  http://autobuild.buildroot.net/results/bbba2a2c97dbec21340c7fd07162a316a411cba4/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/libspatialindex/0001-configure.ac-do-not-force-O2.patch [new file with mode: 0644]
package/libspatialindex/libspatialindex.mk