summaryrefslogtreecommitdiff
path: root/sofort/ccenv/ccenv.sh
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:05 +0000
commitfd46ae4acb13fd21985ce9c47b605adc60fc6690 (patch)
tree54cc2cfba6e89d64a441b702f487a235da8ed865 /sofort/ccenv/ccenv.sh
parent100c127e6846df69dd8fa892fa3036a68f58376d (diff)
downloadslibtool-fd46ae4acb13fd21985ce9c47b605adc60fc6690.tar.bz2
slibtool-fd46ae4acb13fd21985ce9c47b605adc60fc6690.tar.xz
build system: ccenv: ccenv_set_tool_variants(): not all tools support --help.
Diffstat (limited to 'sofort/ccenv/ccenv.sh')
-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