asedriveiiie fails to cross build from source. On the surface, it uses
the build architecture pkg-config and fails to locate dependencies
that way. While looking into this problem, I stumbled into a worse
problem. The upstream Makefile sets CC to "${BUILD}-gcc" and as BUILD
happens to be empty by default, CC becomes "-gcc". When used in a rule,
make interprets the "-" as a prefix suppressing errors. Doing so
violates Debian policy section 4.6. Hence this bug is an rcbug.
Passing --build to configure initializes BUILD and practically fixes the
policy violation. It also helps with cross compilation. Hence, that's
what I am proposing. If you fix this aspect only, please downgrade the
severity of this bug.
The other part is using that prefix on pkg-config. That's also
implemented in the attached patch. Please consider applying it.
Helmut