[Bug 281730] sysutils/u-boot-pine64: portmaster failure: : invalid option -- D

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 27 Sep 2025 01:30:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281730

--- Comment #15 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
Just an FYI:

# gmake -D
gmake: invalid option -- D
. . .

# /usr/local/bin/gmake -D
/usr/local/bin/gmake: invalid option -- D
. . .

# env MAKEFLAGS=-D gmake
: invalid option -- D
. . .

# env MAKEFLAGS=-D /usr/local/bin/gmake
: invalid option -- D
. . .

Note the lack of "gmake" or its path in the error
message. That matches your failure example's text.

This suggests that your failure was an example
of MAKEFLAGS containing a "-D" option-like syntax.

Examples with a path or name before the ":" suggest
a "-D" on the command line.

I've still no clue where or how MAKEFLAGS ended up
with a "-D" being injected.

-- 
You are receiving this mail because:
You are the assignee for the bug.