Disable threadsafe static's for all libraries

Even in libharfbuzz-subset, we still will handle our own threadsafety
for statics.
This commit is contained in:
Behdad Esfahbod 2018-02-13 13:39:50 -08:00
parent 7caddb51b1
commit 28e63a1287

View File

@ -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