Commit d7b9b66a authored by Martin Storsjö's avatar Martin Storsjö

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

This simplifies specifying a value containing spaces for this
parameter.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 9f30fb5a
...@@ -126,6 +126,7 @@ build_only= # set to "yes" for a compile-only instance that skips tests ...@@ -126,6 +126,7 @@ build_only= # set to "yes" for a compile-only instance that skips tests
arch= arch=
cpu= cpu=
cross_prefix= cross_prefix=
as=
cc= cc=
target_os= target_os=
sysroot= sysroot=
......
...@@ -48,6 +48,7 @@ configure()( ...@@ -48,6 +48,7 @@ configure()(
${arch:+--arch=$arch} \ ${arch:+--arch=$arch} \
${cpu:+--cpu="$cpu"} \ ${cpu:+--cpu="$cpu"} \
${cross_prefix:+--cross-prefix="$cross_prefix"} \ ${cross_prefix:+--cross-prefix="$cross_prefix"} \
${as:+--as="$as"} \
${cc:+--cc="$cc"} \ ${cc:+--cc="$cc"} \
${ld:+--ld="$ld"} \ ${ld:+--ld="$ld"} \
${target_os:+--target-os="$target_os"} \ ${target_os:+--target-os="$target_os"} \
......
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