summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-05-26 16:05:11 +0000
committermidipix <writeonce@midipix.org>2021-05-26 16:48:11 +0000
commitcf7a154c629ae4d688714a9620e05a7421aa9e2a (patch)
tree312890d8da1a02d7b07b95d6679ff5ad885cd893
parentd33516fa06b794e017bb632919b79e91a7996f7e (diff)
downloadsbmake-cf7a154c629ae4d688714a9620e05a7421aa9e2a.tar.bz2
sbmake-cf7a154c629ae4d688714a9620e05a7421aa9e2a.tar.xz
build system: ccenv_set_cc_underscore(): send errors to config.log.
-rw-r--r--sofort/ccenv/ccenv.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh
index 857a202..433fec0 100644
--- a/sofort/ccenv/ccenv.sh
+++ b/sofort/ccenv/ccenv.sh
@@ -743,6 +743,7 @@ ccenv_set_cc_underscore()
if printf "$ccenv_fn_code" $ccenv_fn_name \
| $ccenv_cc -xc - -S -o - \
+ 2>&3 \
| grep "^_$ccenv_fn_name:" \
> /dev/null; then
ccenv_cc_underscore='_'