summaryrefslogtreecommitdiffhomepage
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:00 +0000
commita849788b88b8eb798d9c98d64c56b4db35367aef (patch)
treebd68606473ea40d73816e21be4c5e8812f2225ce
parent8f00fc8c2cdfee49a5e02810eee405dfabf8a401 (diff)
downloadntapi-a849788b88b8eb798d9c98d64c56b4db35367aef.tar.bz2
ntapi-a849788b88b8eb798d9c98d64c56b4db35367aef.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