Tighten up check-static-inits.sh check

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=74490
This commit is contained in:
Behdad Esfahbod 2014-04-09 16:33:32 -07:00
parent 110ec0714a
commit 75ec6d0bc5
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ done
echo "Checking that no object file has lazy static C++ constructors/destructors or other such stuff"
for obj in $OBJS; do
if objdump -t "$obj" | grep '__c'; then
if objdump -t "$obj" | grep '__cxa_'; then
echo "Ouch, $obj has lazy static C++ constructors/destructors or other such stuff"
stat=1
fi