[DEV] small fix

This commit is contained in:
Edouard DUPIN 2017-11-15 21:52:41 +01:00
parent 3058308f18
commit 6b2563483f

View File

@ -95,6 +95,8 @@ class Target:
self.add_flag("c++", "-Wno-undefined-var-template")
self.add_flag("c", "-nodefaultlibs")
self.add_flag("c++", "-nostdlib")
# this disable the need to have the __cxa_guard_release
self.add_flag("c++", "-fno-threadsafe-statics")
#self.add_flag("c", "-nostdinc") #ignores standard C include directories
#self.add_flag("c++", "-nostdinc++") #ignores standard C++ include directories
self.add_flag("ar", 'rcs')