diff options
author | Diego Biurrun <diego@biurrun.de> | 2017-10-20 21:18:51 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2018-04-20 12:00:11 +0200 |
commit | 5691c746cf62e69806aae1baf0a6e8252d519444 (patch) | |
tree | 4936daa136fd1464c918628b38cf103d926a8cfb /configure | |
parent | 5cb62f9d952e24fff62737a57e89cf43d9c2333a (diff) | |
download | ffmpeg-5691c746cf62e69806aae1baf0a6e8252d519444.tar.gz |
configure: Group toolchain parameter mangling functions together
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 44 |
1 files changed, 22 insertions, 22 deletions
@@ -769,12 +769,32 @@ test_cmd(){ "$@" >> $logfile 2>&1 } +cc_e(){ + eval printf '%s\\n' $CC_E +} + cc_o(){ eval printf '%s\\n' $CC_O } -cc_e(){ - eval printf '%s\\n' $CC_E +as_o(){ + eval printf '%s\\n' $AS_O +} + +x86asm_o(){ + eval printf '%s\\n' $X86ASM_O +} + +ld_o(){ + eval printf '%s\\n' $LD_O +} + +hostcc_e(){ + eval printf '%s\\n' $HOSTCC_E +} + +hostcc_o(){ + eval printf '%s\\n' $HOSTCC_O } test_cc(){ @@ -798,10 +818,6 @@ test_cpp(){ test_cmd $cc $CPPFLAGS $CFLAGS "$@" $(cc_e $TMPO) $TMPC } -as_o(){ - eval printf '%s\\n' $AS_O -} - test_as(){ log test_as "$@" cat > $TMPS @@ -809,10 +825,6 @@ test_as(){ test_cmd $as $CPPFLAGS $ASFLAGS "$@" $AS_C $(as_o $TMPO) $TMPS } -x86asm_o(){ - eval printf '%s\\n' $X86ASM_O -} - test_x86asm(){ log test_x86asm "$@" echo "$1" > $TMPASM @@ -865,10 +877,6 @@ check_x86asm(){ test_x86asm "$@" && enable $name } -ld_o(){ - eval printf '%s\\n' $LD_O -} - test_ld(){ log test_ld "$@" flags=$(filter_out '-l*' "$@") @@ -1193,14 +1201,6 @@ require_pkg_config(){ check_pkg_config "$@" || die "ERROR: $pkg_version not found" } -hostcc_e(){ - eval printf '%s\\n' $HOSTCC_E -} - -hostcc_o(){ - eval printf '%s\\n' $HOSTCC_O -} - test_host_cc(){ log test_host_cc "$@" cat > $TMPC |