diff --git a/SConscript b/SConscript index 55da24a..06ce767 100644 --- a/SConscript +++ b/SConscript @@ -373,9 +373,10 @@ if env['COMPILER_FAMILY'] == 'gcc' or env['COMPILER_FAMILY'] == 'clang': env.Append(CCFLAGS = ['-Wno-missing-field-initializers', '-Wno-maybe-uninitialized']) env.Append(CXXFLAGS = ['-Wno-subobject-linkage', '-Wno-dangling-reference', '-Wno-init-list-lifetime', '-Wno-tautological-compare']) - else: + else: # clang only # no-gnu-anonymous-struct - we don't care env.Append(CCFLAGS = ['-Wno-gnu-anonymous-struct']) + env.Append(CXXFLAGS = ['-fexperimental-library']) # enable std::jthread if build_type == 'debug': env.Append(CCFLAGS = ['-g', '-O0'], CPPDEFINES = ['_GLIBCXX_DEBUG']) elif build_type == 'release_debug' or build_type == 'profile':