summaryrefslogtreecommitdiffhomepage
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:20 -0500
commit893fac9640fd21ace6a964ef758065eef5f8bdd8 (patch)
tree2e1609c1e3bf0e474a322faf83c10df64d1d778d
parent93ffb9cd31438c3b51e01afd9c57709cc4b2bb4f (diff)
downloadntcon-893fac9640fd21ace6a964ef758065eef5f8bdd8.tar.bz2
ntcon-893fac9640fd21ace6a964ef758065eef5f8bdd8.tar.xz
build system: ccenv_set_cc_underscore(): avoid the __imp_foo false positive.
-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='_'