From: Gleb Popov Date: Tue, 1 Jul 2025 18:15:30 +0000 (+0300) Subject: m4: Fix flang -Wl flags on FreeBSD X-Git-Tag: v2.6.0~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b9156729ab867d29629a16f18bf4ebf8cfe2c162;p=thirdparty%2Flibtool.git m4: Fix flang -Wl flags on FreeBSD --- diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 48e47748b..2e95aaf3b 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*)