summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-08-16 06:31:07 +0000
committermidipix <writeonce@midipix.org>2020-08-16 18:04:06 +0000
commit367b419ae4e3bc5ea28cfe25dcc7c887c885fa5d (patch)
tree628176a5f778a23f3feb135b3844a5e603094f84
parent3da3ba4e79900968e61a34e84ab79f8c683469cf (diff)
downloadsltdl-367b419ae4e3bc5ea28cfe25dcc7c887c885fa5d.tar.bz2
sltdl-367b419ae4e3bc5ea28cfe25dcc7c887c885fa5d.tar.xz
build system: ccenv: ccenv_set_tool_variants(): not all tools support --help.
-rw-r--r--sofort/ccenv/ccenv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh
index b8a9219..c026030 100644
--- a/sofort/ccenv/ccenv.sh
+++ b/sofort/ccenv/ccenv.sh
@@ -238,7 +238,7 @@ ccenv_set_tool_variants()
if [ "$ccenv_tool" = false ]; then
ccenv_as_asm=
else
- $ccenv_tool --help | grep -i '.bc assembler' \
+ $ccenv_tool --help 2>&1 | grep -i '.bc assembler' \
|| ccenv_as_asm="$ccenv_tool"
fi