focus on being just a connect extension again (use together with as2qcache)

This commit is contained in:
2021-06-03 18:25:28 +02:00
parent f0731ceee2
commit e3df1eaa0e
5 changed files with 25 additions and 731 deletions

View File

@ -148,7 +148,7 @@ class ExtensionConfig(object):
cxx.cflags += [
'-pipe',
'-fno-strict-aliasing',
# '-Wall',
'-Wall',
# '-Werror',
'-Wno-unused',
'-Wno-switch',
@ -158,7 +158,7 @@ class ExtensionConfig(object):
'-fvisibility=hidden',
]
cxx.cxxflags += [
'-std=c++11',
'-std=c++14',
'-fno-exceptions',
'-fno-threadsafe-statics',
'-Wno-non-virtual-dtor',
@ -246,6 +246,7 @@ class ExtensionConfig(object):
cxx.linkflags += ['-static-libgcc']
elif cxx.vendor == 'clang':
cxx.linkflags += ['-lgcc_eh']
cxx.linkflags += ['-static-libstdc++']
def configure_mac(self, cxx):
cxx.defines += ['OSX', '_OSX', 'POSIX']