mirror of https://github.com/encounter/SDL.git
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:
parent
8c44e0e0f8
commit
792d7c9f6d
|
@ -3648,7 +3648,8 @@ This mode accepts the following additional options:
|
||||||
-prefer-non-pic try to build non-PIC objects only
|
-prefer-non-pic try to build non-PIC objects only
|
||||||
-shared do not build a '.o' file suitable for static linking
|
-shared do not build a '.o' file suitable for static linking
|
||||||
-static only 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
|
COMPILE-COMMAND is a command to be used in creating a 'standard' object file
|
||||||
from the given SOURCEFILE.
|
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
|
-weak LIBNAME declare that the target provides the LIBNAME interface
|
||||||
-Wc,FLAG
|
-Wc,FLAG
|
||||||
-Xcompiler FLAG pass linker-specific FLAG directly to the compiler
|
-Xcompiler FLAG pass linker-specific FLAG directly to the compiler
|
||||||
|
-Wa,FLAG
|
||||||
|
-Xassembler FLAG pass linker-specific FLAG directly to the assembler
|
||||||
-Wl,FLAG
|
-Wl,FLAG
|
||||||
-Xlinker FLAG pass linker-specific FLAG directly to the linker
|
-Xlinker FLAG pass linker-specific FLAG directly to the linker
|
||||||
-XCClinker FLAG pass link-specific FLAG to the compiler driver (CC)
|
-XCClinker FLAG pass link-specific FLAG to the compiler driver (CC)
|
||||||
|
@ -6849,6 +6852,13 @@ func_mode_link ()
|
||||||
prev=
|
prev=
|
||||||
continue
|
continue
|
||||||
;;
|
;;
|
||||||
|
xassembler)
|
||||||
|
func_append compiler_flags " -Xassembler $qarg"
|
||||||
|
prev=
|
||||||
|
func_append compile_command " -Xassembler $qarg"
|
||||||
|
func_append finalize_command " -Xassembler $qarg"
|
||||||
|
continue
|
||||||
|
;;
|
||||||
xcclinker)
|
xcclinker)
|
||||||
func_append linker_flags " $qarg"
|
func_append linker_flags " $qarg"
|
||||||
func_append compiler_flags " $qarg"
|
func_append compiler_flags " $qarg"
|
||||||
|
@ -7237,6 +7247,11 @@ func_mode_link ()
|
||||||
arg=$func_stripname_result
|
arg=$func_stripname_result
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
-Xassembler)
|
||||||
|
prev=xassembler
|
||||||
|
continue
|
||||||
|
;;
|
||||||
|
|
||||||
-Xcompiler)
|
-Xcompiler)
|
||||||
prev=xcompiler
|
prev=xcompiler
|
||||||
continue
|
continue
|
||||||
|
@ -7276,10 +7291,11 @@ func_mode_link ()
|
||||||
# -stdlib=* select c++ std lib with clang
|
# -stdlib=* select c++ std lib with clang
|
||||||
# -fsanitize=* Clang/GCC memory and address sanitizer
|
# -fsanitize=* Clang/GCC memory and address sanitizer
|
||||||
# -fuse-ld=* Linker select flags for GCC
|
# -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*| \
|
-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=*| \
|
||||||
-O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
|
-O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
|
||||||
-specs=*|-fsanitize=*|-fuse-ld=*)
|
-specs=*|-fsanitize=*|-fuse-ld=*|-Wa,*)
|
||||||
func_quote_for_eval "$arg"
|
func_quote_for_eval "$arg"
|
||||||
arg=$func_quote_for_eval_result
|
arg=$func_quote_for_eval_result
|
||||||
func_append compile_command " $arg"
|
func_append compile_command " $arg"
|
||||||
|
|
Loading…
Reference in New Issue