This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch development
in repository libtool.

The following commit(s) were added to refs/heads/development by this push:
     new 58f12166 ltmain.in: Handle clang's target architecture flag
58f12166 is described below

commit 58f12166a05e8041de34a3c90cf01d9c283124fc
Author: Ileana Dumitrescu <ileanadumitresc...@gmail.com>
AuthorDate: Mon Jul 14 18:39:21 2025 +0300

    ltmain.in: Handle clang's target architecture flag
    
    * build-aux/ltmain.in: Pass clang's '--target' flag for specifying
      architecture through libtool unchanged.
---
 build-aux/ltmain.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 9c85d660..1417745c 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -5641,6 +5641,7 @@ func_mode_link ()
       # @file                GCC response files
       # -tp=*                Portland pgcc target processor selection
       # --sysroot=*          for sysroot support
+      # --target=*           for target architecture support
       # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time 
optimization
       # -specs=*             GCC specs files
       # -stdlib=*            select c++ std lib with clang
@@ -5660,7 +5661,7 @@ func_mode_link ()
       # -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=*| \
+      
-t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*|--target=*|
 \
       
-O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-no-canonical-prefixes|
 \
       -stdlib=*|-rtlib=*|--unwindlib=*| \
       -specs=*|-fsanitize=*|-fno-sanitize*|-shared-libsan|-static-libsan| \

Reply via email to