Hi, On Sat, Jun 20, 2026 at 09:42:46AM +0530, Anuradha Weeraman wrote: > Package: blhc > Version: 0.14+git20240421.5d2c338-2 > Severity: normal > > Hi > > I'm seeing a blhc error on missing LDFLAGS in a quoted command such as > below where the LDFLAGS are present: > > + iffe -v -c 'cc -g -O2 -Wl,-z,relro -Wl,-z,now' ref test.c > > [snip]
in an attempt to detect many variations of compiler commands with
missing flags, blhc is treating the definition of a "compiler
command" very liberally. This includes quoted strings because
it's difficult to "parse" the output of build systems. In this
case, this heuristic fails.
The suggested workaround is to emit the following line in your
build log to ignore these offending lines (see man blhc for
details):
blhc: ignore-line-regexp: \+ iffe .*
For example in debian/rules via:
@echo 'blhc: ignore-line-regexp: \+ iffe .*'
Best,
Simon
signature.asc
Description: PGP signature

