branch: master commit b9156729ab867d29629a16f18bf4ebf8cfe2c162 Author: Gleb Popov <arr...@freebsd.org> AuthorDate: Tue Jul 1 21:15:30 2025 +0300
m4: Fix flang -Wl flags on FreeBSD --- m4/libtool.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 48e47748..2e95aaf3 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -4877,7 +4877,7 @@ m4_if([$1], [CXX], [ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; - linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) + linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | freebsd*) case $cc_basename in # old Intel for x86_64, which still supported -KPIC. ecc*)