From 28e63a1287fd38a98eed6725c2f4d0820066b0d8 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 13 Feb 2018 13:39:50 -0800 Subject: [PATCH] Disable threadsafe static's for all libraries Even in libharfbuzz-subset, we still will handle our own threadsafety for statics. --- src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 49d6640f5..c4f1069ac 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -35,7 +35,8 @@ HBNOLIBCXXCFLAGS = else # Make sure we don't link to libstdc++ # No threadsafe statics in C++ as we do it ourselves -HBNOLIBCXXFLAGS = -fno-rtti -fno-exceptions -fno-threadsafe-statics +HBNOLIBCXXFLAGS = -fno-rtti -fno-exceptions +HBCFLAGS += -fno-threadsafe-statics endif if HAVE_OT