From: Alex Potapenko Date: Fri, 19 Nov 2021 01:53:35 +0000 (-0600) Subject: libtool: Pass -Xassembler flag and arguments to compiler X-Git-Tag: v2.4.7~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=86d71e869d998fb09bee543a2aaef7beb6d6f591;p=thirdparty%2Flibtool.git libtool: Pass -Xassembler flag and arguments to compiler * build-aux/ltmain.in: Add parsing and pass-thru for -Xassembler Copyright-paperwork-exempt: Yes --- diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in index f7a8e1c36..fa2e1b5f5 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -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