This is an automated email from the git hooks/post-receive script. vapier pushed a commit to branch master in repository libtool.
The following commit(s) were added to refs/heads/master by this push: new cdf4bf70 ltmain.in: Handle prefix-map compiler options correctly cdf4bf70 is described below commit cdf4bf702f11d17e06569936e8a433a77f791228 Author: Richard Purdie <richard.pur...@linuxfoundation.org> AuthorDate: Wed Jan 17 12:39:20 2024 +0000 ltmain.in: Handle prefix-map compiler options correctly If lto is enabled, we need the prefix-map variables to be passed to the linker to correctly link the objects using correctly mapped paths. Add these to the list of options libtool passes through. * build-aux/ltmain.in: Handle prefix-map compiler options. --- build-aux/ltmain.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in index 9f473959..a6a9d696 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -5413,12 +5413,14 @@ func_mode_link () # -shared-libsan Link with shared sanitizer runtimes (Clang) # -static-libsan Link with static sanitizer runtimes (Clang) # -fuse-ld=* Linker select flags for GCC + # -f{file|debug|macro|profile}-prefix-map=* needed for lto linking # -Wa,* Pass flags directly to the assembler # -Werror, -Werror=* Report (specified) warnings as errors -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ -specs=*|-fsanitize=*|-fno-sanitize*|-shared-libsan|-static-libsan| \ + -ffile-prefix-map=*|-fdebug-prefix-map=*|-fmacro-prefix-map=*|-fprofile-prefix-map=*| \ -fdiagnostics-color*|-frecord-gcc-switches| \ -fuse-ld=*|-Wa,*|-Werror|-Werror=*) func_quote_arg pretty "$arg"