[Debian-med-packaging] Bug#984974: parafly FTCBFS: misses the -fopenmp flag

Helmut Grohne helmut at subdivi.de
Thu Mar 11 10:51:35 GMT 2021


Source: parafly
Version: 0.1.0-1
Tags: patch upstream
User: debian-cross at lists.debian.org
Usertags: ftcbfs

parafly fails to cross build from source, because it misses the -fopenmp
flag during cross builds. configure.ac attempts to detect the compiler
type from the CXX variable and when using cross builds the variable is
not matched, so it ends up missing the relevant -fopenmp flag. The
author of configure.ac already figured that a better solution would be
using AC_OPENMP, but that would require the bleeding-edge autoconf 2.62.
It turns out that the macro is already 13 years old. Maybe it is time to
enable it now and fix cross builds that way?

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 691 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20210311/399bf28a/attachment.patch>


More information about the Debian-med-packaging mailing list