From 3ad7c1d6ae9b1fb3bfe1a5d63ed63a63e772c15c Mon Sep 17 00:00:00 2001 From: midipix Date: Jan 01 2019 09:42:21 +0000 Subject: build system: ccenv_set_cc_underscore(): avoid the __imp_foo false positive. --- 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='_'