self.obj_root = None
self.library_root = None
self.env = {}
- self.compile_flags = ['-nostdinc++']
- self.link_flags = ['-nodefaultlibs']
+ self.compile_flags = []
+ self.link_flags = []
self.use_system_lib = False
self.use_clang_verify = False
self.use_ccache = False
def configure_compile_flags(self):
# Configure extra compiler flags.
+ self.compile_flags += ['-nostdinc++']
self.compile_flags += ['-I' + self.src_root + '/include',
'-I' + self.src_root + '/test/support']
if sys.platform.startswith('linux'):
def configure_link_flags(self):
+ self.link_flags += ['-nodefaultlibs']
# Configure library search paths
abi_library_path = self.get_lit_conf('abi_library_path', '')
if not self.use_system_lib: