fate.sh: Allow specifying --as via a specific variable

This simplifies specifying a value containing spaces for this
parameter.

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2013-05-28 23:00:54 +03:00
parent 9f30fb5a77
commit d7b9b66abb
2 changed files with 2 additions and 0 deletions

View File

@ -126,6 +126,7 @@ build_only= # set to "yes" for a compile-only instance that skips tests
arch=
cpu=
cross_prefix=
as=
cc=
target_os=
sysroot=

View File

@ -48,6 +48,7 @@ configure()(
${arch:+--arch=$arch} \
${cpu:+--cpu="$cpu"} \
${cross_prefix:+--cross-prefix="$cross_prefix"} \
${as:+--as="$as"} \
${cc:+--cc="$cc"} \
${ld:+--ld="$ld"} \
${target_os:+--target-os="$target_os"} \