From 75ec6d0bc5ca0170c73e4d1099a898d38d8f85c0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 9 Apr 2014 16:33:32 -0700 Subject: [PATCH] Tighten up check-static-inits.sh check Fixes https://bugs.freedesktop.org/show_bug.cgi?id=74490 --- src/check-static-inits.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/check-static-inits.sh b/src/check-static-inits.sh index bb0a7ff63..83d02c8a9 100755 --- a/src/check-static-inits.sh +++ b/src/check-static-inits.sh @@ -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