HomeFreeBSD

devel/flang: silence warnings caused by the wrapper script shortcomings and…

Description

devel/flang: silence warnings caused by the wrapper script shortcomings and only add linking flags if needed.

PR: 220588
Reviewed by: swills (mentor)
Approved by: swills (mentor)
Obtained from: PR220588 (with changes)
Differential Revision: https://reviews.freebsd.org/D13371