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>
pull/23/head
Martin Storsjö 12 years ago
parent 9f30fb5a77
commit d7b9b66abb
  1. 1
      doc/fate.texi
  2. 1
      tests/fate.sh

@ -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=

@ -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"} \

Loading…
Cancel
Save