Tighten up check-static-inits.sh check
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=74490
This commit is contained in:
parent
110ec0714a
commit
75ec6d0bc5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue