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:02 +0000
commit4440ff61ab110690da18750a8d8d3f0da1f0f1be (patch)
tree90cc54fe63a94f35ff9801f147ae1cd2e59dd549
parentbe9f9d44c060251604e17775518d2283121767d1 (diff)
downloadperk-4440ff61ab110690da18750a8d8d3f0da1f0f1be.tar.bz2
perk-4440ff61ab110690da18750a8d8d3f0da1f0f1be.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