#1000563 iverilog FTCBFS: fails checking for the build architecture compiler

Package:
src:iverilog
Source:
iverilog
Submitter:
Helmut Grohne
Date:
2022-05-19 17:36:04 UTC
Severity:
normal
Tags:
#1000563#5
Date:
2021-11-25 06:30:27 UTC
From:
To:
iverilog fails to cross build from source, because it checks for the
build architecture compiler at the end of the configure run when the
LIBS variable is already set. As such, the macro includes those LIBS and
fails to find them for the build architecture concluding that the build
architecture compiler is broken. The solution is to run the macro early.
Please consider applying the attached patch.

Helmut