summaryrefslogtreecommitdiff
path: root/sofort/ccenv
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-01 04:38:41 -0500
committermidipix <writeonce@midipix.org>2019-01-01 04:42:22 -0500
commit88ae05169def003d1d20d0e55539d5be5efb77ff (patch)
tree4eafa2d376e03eff67725bb85e1bc3eda2e324f5 /sofort/ccenv
parent52f7e5085ec9847df35791d64ed04ef49b464121 (diff)
downloadsbpython2-88ae05169def003d1d20d0e55539d5be5efb77ff.tar.bz2
sbpython2-88ae05169def003d1d20d0e55539d5be5efb77ff.tar.xz
build system: ccenv_set_cc_underscore(): avoid the __imp_foo false positive.
Diffstat (limited to 'sofort/ccenv')
-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 6d8f13e..d6876c7 100644
--- a/sofort/ccenv/ccenv.sh
+++ b/sofort/ccenv/ccenv.sh
@@ -471,7 +471,7 @@ ccenv_set_cc_underscore()
printf "$ccenv_fn_code" $ccenv_fn_name \
| $ccenv_cc -xc - -S -o - \
- | grep _$ccenv_fn_name \
+ | grep "^_$ccenv_fn_name:" \
> /dev/null \
&& ccenv_cc_underscore='_'