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:
parent
e1f1f96577
commit
2903b2f357
|
@ -37,8 +37,8 @@ HBNOLIBCXXCFLAGS =
|
||||||
else
|
else
|
||||||
# Make sure we don't link to libstdc++
|
# Make sure we don't link to libstdc++
|
||||||
# No threadsafe statics in C++ as we do it ourselves
|
# No threadsafe statics in C++ as we do it ourselves
|
||||||
HBCFLAGS += -fno-threadsafe-statics -fno-exceptions
|
HBCFLAGS += -fno-exceptions
|
||||||
HBNOLIBCXXFLAGS = -fno-rtti
|
HBNOLIBCXXFLAGS = -fno-threadsafe-statics -fno-rtti
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if HAVE_OT
|
if HAVE_OT
|
||||||
|
|
Loading…
Reference in New Issue