package/openblas: fix build failure due to forced FFLAGS
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Fri, 5 Mar 2021 13:48:36 +0000 (14:48 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 6 Mar 2021 15:33:10 +0000 (16:33 +0100)
commit2793167b57f3ca197be92e493312643d14a4300a
tree6b00be0723c9ebb8b230acefd6189ff01d98a504
parent11ac2ab5811a2be35816e30c5817b5fd0e552cee
package/openblas: fix build failure due to forced FFLAGS

Buildroot specifies a value for FFLAGS on the make command-line.
While the openblas makefiles allowed this principle for the most part by
using 'override FFLAGS += ....', the make.inc file generated for the shipped
'lapack' sources just used a 'FFLAGS = ...' statement, whose value is then
eclipsed by the command-line FFLAGS.

This meant that -fPIC may be passed to the link step but not to all relevant
source files, causing relocation failures.

Fixes: http://autobuild.buildroot.net/results/d530db0f37e1e0462e3af1e1787e15f94ff21884/
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/openblas/0002-Makefile-fix-support-for-passing-FFLAGS-on-the-make-.patch [new file with mode: 0644]