Skip to content
Snippets Groups Projects
Commit a669a39c authored by Matthew Pickering's avatar Matthew Pickering Committed by Marge Bot
Browse files

Fix plaform glob in FPTOOLS_SET_C_LD_FLAGS

A normal triple may look like

x86_64-unknown-linux

but when cross-compiling you get $target set to a quad such as..

aarch64-unknown-linux-gnu

Which should also match this check.
parent 50df2e69
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ AC_DEFUN([FPTOOLS_SET_C_LD_FLAGS],
# See Note [ELF needed shared libs]
case $$1 in
*-linux|*-freebsd*)
*-linux*|*-freebsd*)
FP_LINK_SUPPORTS_NO_AS_NEEDED([$3])
;;
esac
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment