fate.sh: Allow specifying --as via a specific variable
authorMartin Storsjö <martin@martin.st>
Tue, 28 May 2013 20:00:54 +0000 (23:00 +0300)
committerMartin Storsjö <martin@martin.st>
Wed, 29 May 2013 07:37:05 +0000 (10:37 +0300)
This simplifies specifying a value containing spaces for this
parameter.

Signed-off-by: Martin Storsjö <martin@martin.st>
doc/fate.texi
tests/fate.sh

index f076acd..ec279a2 100644 (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=
index ac31c0f..de59c22 100755 (executable)
@@ -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"}                          \