m4: Fix flang -Wl flags on FreeBSD

This commit is contained in:
Gleb Popov 2025-07-01 21:15:30 +03:00 committed by Ileana Dumitrescu
parent c6016699f1
commit b9156729ab
No known key found for this signature in database
GPG Key ID: 6570EA01146F7354

2
m4/libtool.m4 vendored
View File

@ -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*)