Another linker tweaking

Trying to fix this warning:
cc1: warning: command line option ‘-fno-threadsafe-statics’ is valid for C++/ObjC++ but not for C

Let's see what the clang bots think of it.
This commit is contained in:
Behdad Esfahbod 2018-02-14 15:46:27 -08:00
parent e1f1f96577
commit 2903b2f357
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@ HBNOLIBCXXCFLAGS =
else
# Make sure we don't link to libstdc++
# No threadsafe statics in C++ as we do it ourselves
HBCFLAGS += -fno-threadsafe-statics -fno-exceptions
HBNOLIBCXXFLAGS = -fno-rtti
HBCFLAGS += -fno-exceptions
HBNOLIBCXXFLAGS = -fno-threadsafe-statics -fno-rtti
endif
if HAVE_OT