Commit 72b33ead authored by Alexander Strasser's avatar Alexander Strasser Committed by Michael Niedermayer

build: Support selecting yasm-compatible assembler

  Makes it possible to select the name/path of the tool for compiling
the non-inline assembly code.
Signed-off-by: 's avatarAlexander Strasser <eclipse7@gmx.net>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 23440531
...@@ -221,6 +221,7 @@ Advanced options (experts only): ...@@ -221,6 +221,7 @@ Advanced options (experts only):
--nm=NM use nm tool --nm=NM use nm tool
--ar=AR use archive tool AR [$ar_default] --ar=AR use archive tool AR [$ar_default]
--as=AS use assembler AS [$as_default] --as=AS use assembler AS [$as_default]
--yasmexe=EXE use yasm-compatible assembler EXE [$yasmexe_default]
--cc=CC use C compiler CC [$cc_default] --cc=CC use C compiler CC [$cc_default]
--cxx=CXX use C compiler CXX [$cxx_default] --cxx=CXX use C compiler CXX [$cxx_default]
--ld=LD use linker LD --ld=LD use linker LD
...@@ -1319,6 +1320,7 @@ CMDLINE_SET=" ...@@ -1319,6 +1320,7 @@ CMDLINE_SET="
target_os target_os
target_path target_path
valgrind valgrind
yasmexe
" "
CMDLINE_APPEND=" CMDLINE_APPEND="
...@@ -1800,7 +1802,7 @@ objformat="elf" ...@@ -1800,7 +1802,7 @@ objformat="elf"
pkg_config_default=pkg-config pkg_config_default=pkg-config
ranlib="ranlib" ranlib="ranlib"
strip_default="strip" strip_default="strip"
yasmexe="yasm" yasmexe_default="yasm"
nm_opts='-g' nm_opts='-g'
nogas=":" nogas=":"
...@@ -2031,7 +2033,7 @@ strip_default="${cross_prefix}${strip_default}" ...@@ -2031,7 +2033,7 @@ strip_default="${cross_prefix}${strip_default}"
sysinclude_default="${sysroot}/usr/include" sysinclude_default="${sysroot}/usr/include"
set_default cc cxx nm pkg_config strip sysinclude set_default cc cxx nm pkg_config strip sysinclude yasmexe
enabled cross_compile || host_cc_default=$cc enabled cross_compile || host_cc_default=$cc
set_default host_cc set_default host_cc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment