mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-11-03 17:24:34 +00:00 
			
		
		
		
	libtool upgrade to 2.4.6 - 15/n: -Xassembler and -Wa,* support :
http://git.savannah.gnu.org/gitweb/?p=libtool.git;a=commitdiff;h=86d71e869d998fb09bee543a2aaef7beb6d6f591 http://git.savannah.gnu.org/gitweb/?p=libtool.git;a=commitdiff;h=1b74d78401d7e09d5c31f4d479109d9b52984a32
This commit is contained in:
		@@ -3648,7 +3648,8 @@ This mode accepts the following additional options:
 | 
			
		||||
  -prefer-non-pic   try to build non-PIC objects only
 | 
			
		||||
  -shared           do not build a '.o' file suitable for static linking
 | 
			
		||||
  -static           only build a '.o' file suitable for static linking
 | 
			
		||||
  -Wc,FLAG          pass FLAG directly to the compiler
 | 
			
		||||
  -Wc,FLAG
 | 
			
		||||
  -Xcompiler FLAG   pass FLAG directly to the compiler
 | 
			
		||||
 | 
			
		||||
COMPILE-COMMAND is a command to be used in creating a 'standard' object file
 | 
			
		||||
from the given SOURCEFILE.
 | 
			
		||||
@@ -3754,6 +3755,8 @@ The following components of LINK-COMMAND are treated specially:
 | 
			
		||||
  -weak LIBNAME     declare that the target provides the LIBNAME interface
 | 
			
		||||
  -Wc,FLAG
 | 
			
		||||
  -Xcompiler FLAG   pass linker-specific FLAG directly to the compiler
 | 
			
		||||
  -Wa,FLAG
 | 
			
		||||
  -Xassembler FLAG  pass linker-specific FLAG directly to the assembler
 | 
			
		||||
  -Wl,FLAG
 | 
			
		||||
  -Xlinker FLAG     pass linker-specific FLAG directly to the linker
 | 
			
		||||
  -XCClinker FLAG   pass link-specific FLAG to the compiler driver (CC)
 | 
			
		||||
@@ -6849,6 +6852,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"
 | 
			
		||||
@@ -7237,6 +7247,11 @@ func_mode_link ()
 | 
			
		||||
	arg=$func_stripname_result
 | 
			
		||||
	;;
 | 
			
		||||
 | 
			
		||||
      -Xassembler)
 | 
			
		||||
        prev=xassembler
 | 
			
		||||
        continue
 | 
			
		||||
        ;;
 | 
			
		||||
 | 
			
		||||
      -Xcompiler)
 | 
			
		||||
	prev=xcompiler
 | 
			
		||||
	continue
 | 
			
		||||
@@ -7276,10 +7291,11 @@ func_mode_link ()
 | 
			
		||||
      # -stdlib=*            select c++ std lib with clang
 | 
			
		||||
      # -fsanitize=*         Clang/GCC memory and address sanitizer
 | 
			
		||||
      # -fuse-ld=*           Linker select flags for GCC
 | 
			
		||||
      # -Wa,*                Pass flags directly to the assembler
 | 
			
		||||
      -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=*|-fuse-ld=*)
 | 
			
		||||
      -specs=*|-fsanitize=*|-fuse-ld=*|-Wa,*)
 | 
			
		||||
        func_quote_for_eval "$arg"
 | 
			
		||||
	arg=$func_quote_for_eval_result
 | 
			
		||||
        func_append compile_command " $arg"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user