libtool: Pass -Xassembler flag and arguments to compiler

* build-aux/ltmain.in: Add parsing and pass-thru for -Xassembler

Copyright-paperwork-exempt: Yes
This commit is contained in:
Alex Potapenko 2021-11-18 19:53:35 -06:00 committed by aakropotkin
parent fc7779d7d8
commit 86d71e869d

View File

@ -4953,6 +4953,13 @@ func_mode_link ()
prev=
continue
;;
xassembler)
func_append compiler_flags " -Xassembler $qarg"
prev=
func_append compile_command " -Xassembler $qarg"
func_append finalize_command " -Xassembler $qarg"
continue
;;
xcclinker)
func_append linker_flags " $qarg"
func_append compiler_flags " $qarg"
@ -5341,6 +5348,11 @@ func_mode_link ()
arg=$func_stripname_result
;;
-Xassembler)
prev=xassembler
continue
;;
-Xcompiler)
prev=xcompiler
continue